]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
made supervisord sd_notify() plugin properly functional + supervisord config changes
authorVasek Sraier <git@vakabus.cz>
Fri, 17 Jun 2022 13:03:43 +0000 (15:03 +0200)
committerVaclav Sraier <vaclav.sraier@nic.cz>
Fri, 24 Jun 2022 13:22:07 +0000 (13:22 +0000)
commitbc3f97d970ea67f829b68dfabecb62b1aecb1369
tree6fb39a5cacc5622753e8ecc8add936c3ad2c8ce7
parenta9edff6ce9bbc61412eb775f31514bb3da59b6fe
made supervisord sd_notify() plugin properly functional + supervisord config changes

- X-SUPERVISORD-TYPE=notify in a process's environment should make the process behave similarly to Type=notify systemd service units
- startsec with the above means time, after which it will get killed without ready notification
manager/knot_resolver_manager/constants.py
manager/knot_resolver_manager/kres_manager.py
manager/knot_resolver_manager/kresd_controller/__init__.py
manager/knot_resolver_manager/kresd_controller/supervisord/__init__.py
manager/knot_resolver_manager/kresd_controller/supervisord/config_file.py
manager/knot_resolver_manager/kresd_controller/supervisord/plugin/__init__.py
manager/knot_resolver_manager/kresd_controller/supervisord/supervisord.conf.j2
manager/setup.py