Hi.

On Sun, 21 Jan 2018 13:02:41 +0200 Adrian Sevcenco wrote:
...
> the proper procedure would be "systemctl edit service_name"...

> as such i have this :
> cat tftp.service.d/override.conf
> [Unit]
> DefaultDependencies=no
> Requires=
...

> 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.

-- 
francis
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to