Skip to content

netlog auto-restart after config changes leaves two instances running #299

Closed
donald opened this issue Jan 20, 2023 · 0 comments · Fixed by #300
Closed

netlog auto-restart after config changes leaves two instances running #299

donald opened this issue Jan 20, 2023 · 0 comments · Fixed by #300

Comments

@donald
Copy link
Collaborator

donald commented Jan 20, 2023

This very old script uses Donald:Tools:kill_previous_server() to clean up the old instances but this function has special code to avoid killing the parent, assuming that is an init.d script with the same name.

But this logic doesn't play well with the --foregound option we are now using. With this option, the old daemon is the parent of the new one and thus isn't killed.

All builtin daemon code should be removed and all this left to systemd.

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant