-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We now run clusterd as a systemd service. The features to daemonize, redirect logging, restart and kill previous daemons are all not needed. Additionally, the restart is buggy, because Donald::Tools::kill_previous_server doesn't kill the parent - assuming this is an rc.d script. However, in `--foregound` mode, the previous daemon is in fact the parent. - Remove unused features and leave job control and logging to systemd. - Log into journal instead of into syslog. - Remove "Description=" from the unit, because its easier to identify things, when the name used in messages is the same as the unit name and the unit file name.
- Loading branch information
Showing
2 changed files
with
2 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters