Re: systemd behavior during shutdown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mi, 26.09.18 09:14, Tiwari, Hari Sahaya (hari-sahaya.tiwari@xxxxxxx) 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
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux