[systemd-devel] is-enabled and generated units
Andrei Borzenkov
arvidjaar at gmail.com
Sun Jun 14 03:22:25 PDT 2015
В Sun, 14 Jun 2015 12:16:09 +0200
Igor Bukanov <igor at mir2.org> пишет:
> On 14 June 2015 at 12:10, Andrei Borzenkov <arvidjaar at gmail.com> wrote:
> > Not really. systemctl enable|disable|is-enabled explicitly work on
> > links defined by [Install] section only.
>
> This is not true. According to systemctl is-enabled man page for
> services without [Install] the command should succeed and print
> static, not fail with an error message.
It's not what you said originally :)
> when I expected that the command succeeds and prints enabled-runtime
> as the unit was enabled through a target file
So it can be discussed what should be returned in this case, but in any
case "systemctl is-enabled" is not expected to return "enabled-runtime"
here.
More information about the systemd-devel
mailing list