Re: [systemd-devel] [Install] section of symlinked unit file ignored if drop-in file is used

2018-05-28 Thread John Gallagher
道: >> >> Hi John, >> >> I'm not sure whether this issue is because of >> https://github.com/systemd/systemd/pull/7158 or not. I will figure it out. >> Thanks. >> >> John Lin >> >> John Gallagher 於 2018年5月24日 週四 上午8:07寫道: >>&g

[systemd-devel] [Install] section of symlinked unit file ignored if drop-in file is used

2018-05-23 Thread John Gallagher
If I have a unit file for a service that lives off the unit file search path, I can link it, and then enable it using the service name instead of the full path of the unit file: $ cat foo.service [Service] Type=simple ExecStart=/bin/sleep 1 [Install] WantedBy=multi-user.target $ sudo syst