[systemd-devel] Systemd killed processes of custom services instead of graceful shutdown

Reindl Harald h.reindl at thelounge.net
Mon Jun 15 10:00:10 UTC 2020


can you plesse only respond to the list to not break reply-to

Am 15.06.20 um 11:49 schrieb Kamal Rathi:
> can you answer the question why you did put that option at all into the
> unit file and why do you add random options to your units like
> "After=syslog.target systemd-user-sessions.service system.slice"  
>  I have added above options so that my script will start after
> filesystems,network and user sessions are online and should be stopped
> before those all services so that custom service will be first at
> shutdown or at least before user.slice killed

useless unless you set "DefaultDependencies=no" which you shouldn't do
for normal services


More information about the systemd-devel mailing list