[systemd-devel] systemd behavior during shutdown
Lennart Poettering
lennart at poettering.net
Fri Oct 5 17:32:58 UTC 2018
On Mi, 26.09.18 09:14, Tiwari, Hari Sahaya (hari-sahaya.tiwari at hpe.com) wrote:
> Yes, you are correct.
> system-hacl-cfg.slice does have conflict with shutdown.target and for this DefaultDependencies is yes. May be that is the reason.
>
> Id=system-hacl-cfg.slice
> Names=system-hacl-cfg.slice
> Requires=system-hacl.slice
> Conflicts=shutdown.target
> Before=shutdown.target
> After=system-hacl.slice
> Description=system-hacl-cfg.slice
> .
> DefaultDependencies=yes
>
> Is there a different step to set "DefaultDependencies=false" for .slice? I thought it will take from [Unit] section of corresponding socket & service file.
Set it the property in the .slice unit file, that should just work.
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list