[systemd-devel] Can I enable/disable a target?

Lennart Poettering lennart at poettering.net
Thu May 9 15:24:41 UTC 2019


On Do, 09.05.19 12:27, Ulrich Windl (Ulrich.Windl at rz.uni-regensburg.de) wrote:

> Hi!
>
> Whenever I try to enable or disable a target (that exists), I get
> "Failed to execute operation: No such file or directory". What file
> or directory, please? Or what is the command trying to say?

Well, "systemctl enable" could not find the target unit file in the
directories it searches for them. Where did you place the unit file?

Lennart

--
Lennart Poettering, Berlin


More information about the systemd-devel mailing list