[systemd-devel] [Netatalk-admins] Restart=always and "ExecStartPre" (netatalk)

HAT hat at fa2.so-net.ne.jp
Wed Nov 2 09:20:39 PDT 2011


>> # systemctl start netatalk-cnid_metad.service netatalk-afpd.service
> 
> yes, please go this way for the public packages to get them
> work in a clean way with systemd, i will overwrite in /etc/systemd
> because i don't like have to think about both services

hmm, there is still a problem.

# systemctl stop netatalk-cnid_metad.service netatalk-afpd.service

log:
Nov 03 00:59:11.821662 cnid_metad[2692] {cnid_metad.c:135} (I:AFPDaemon): shutting down on signal 15
Nov 03 00:59:11.822062 afpd[2693] {main.c:148} (N:AFPDaemon): AFP Server shutting down on SIGTERM


cnid_metad stops before afpd.
starting order is controllable by "After=".
How is stopping order controlled?

-- 
HAT


More information about the systemd-devel mailing list