Skip to content

netlog: Remove daemon features #300

Merged
merged 1 commit into from
Jan 20, 2023
Merged

netlog: Remove daemon features #300

merged 1 commit into from
Jan 20, 2023

Commits on Jan 20, 2023

  1. netlog: Remove daemon features

    We now run the netlog daemon as a systemd service. The features to
    demonize, 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.
    donald committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    4f97485 View commit details
    Browse the repository at this point in the history