While working with avahi-autoipd we found that the deconf step did not execute properly when Finit sent the daemon process SIGTERM. This was caused by Finit cleaning up all lingering processes in that process group when the daemon PID exited, causing the /etc/avahi/avahi-autoipd.action script to be killed (-9) before completing.
In systemd land this can be controlled by the KillMode= switch, which default to cgroup:
service [2345] stop-type:mixed foo -n -- Example foo daemon
A Finit feature for this should at least support: pgroup (current), cgroup, and mixed style.
While working with
avahi-autoipd
we found that the deconf step did not execute properly when Finit sent the daemon process SIGTERM. This was caused by Finit cleaning up all lingering processes in that process group when the daemon PID exited, causing the/etc/avahi/avahi-autoipd.action
script to be killed (-9) before completing.In systemd land this can be controlled by the
KillMode=
switch, which default to cgroup:A Finit feature for this should at least support:
pgroup
(current),cgroup
, andmixed
style.Related to: #412