Hacker News new | ask | show | jobs
by egberts1 1464 days ago
if you run a Debian-based production server, then Devuan is for you.

Devuan can allow your precious daemon to stay up despite netdev going offline, unlike systemd-networkd which would kill the daemon.

This is quite important if your large ling-running daemon has statefulness data.

1 comments

As someone pointed out elsewhere in the thread, so can systemd, your service did what it was configured to do. If you want the service to stay up when netdev goes down, then don't tell systemd that netdev is a hard requirement for your service.
Its never a good systemd-networkd default to be killing daemon whenever a netdev goes “cricket”.
But that's just it, to say this just demonstrates you don't understand the systemd service model.

There is no "system default" in the loop here at all. The service told systemd that it cannot operate without netdev, and systemd behaved accordingly. If the config was written more appropriately, it would have behaved accordingly. The "default" is what you had written in the unit file.