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.
Related to: #412
While working with
avahi-autoipdwe 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.actionscript 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, andmixedstyle.Related to: #412