On 01/21/2018 04:50 PM, Francis.Montagnac(a)inria.fr wrote:
> in which i tried to remove the socket dependency but i still have
this :
> systemctl list-dependencies tftp.service
> tftp.service
> ● ├─system.slice
> ● └─tftp.socket
The following Note (hard to find that) at the end of the man of
systemd.unit explain why you got that:
Note that dependencies (After=, etc.) cannot be reset to an empty list,
so dependencies can only be added in drop-ins. If you want to remove
dependencies, you have to override the entire unit.
wow! thanks a lot!!!
Adrian