[systemd-devel] 'is-enabled' supported for legacy sysvinit scripts?

Nusenu nusenu at openmailbox.org
Mon Apr 13 00:53:36 PDT 2015


> thanks for your reply.
> 
>> systemctl should still support it if your system supports
>> chkconfig to manage initscripts.
> 
> chkconfig was indeed not installed, but even after installing it,
> the is-enabled command output and return codes do not change:
> 
>>> Output in such cases:
>> 
>>> "Failed to get unit file state for FOO.service: No such file or
>>> director y"
> 
> Is this considered a bug?

since it works on RHEL 7 with systemd 208 I'll file this bug against
debian.

systemctl is-enabled tor
tor.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig tor --level=5
enabled




More information about the systemd-devel mailing list