Agent shuts down after receiving SIGHUP
Describe the bug
Issuing a 'systemctl reload isc-stork-agent' results in the agent shutting down.
To Reproduce
Steps to reproduce the behavior:
- Install Stork 1.1 Debian-style packages
- Run 'systemctl reload isc-stork-agent'
- Run 'journalctl -eu isc-stork-agent'
Expected behavior
The agent should re-read its configuration and apply any necessary changes.
Environment:
- Stork: 1.1.0.220202140042
- OS: Debian Bullseye
Additional Information
Example log output:
Feb 05 08:19:01 edge21-b systemd[1]: Reloading ISC Stork Agent...
Feb 05 08:19:01 edge21-b systemd[1]: Reloaded ISC Stork Agent.
Feb 05 08:19:01 edge21-b systemd[1]: isc-stork-agent.service: Deactivated successfully.
Feb 05 08:19:01 edge21-b systemd[1]: isc-stork-agent.service: Consumed 50min 17.876s CPU time.
Some initial questions
- Are you sure your feature is not already implemented in the latest Stork version? Yes.
- Are you sure what you would like to do is not possible using some other mechanisms? 'restart' can be used instead.
- Have you discussed your idea on stork-users mailing list? Yes.