[systemd-devel] how check enabled service
Alexey Shabalin
a.shabalin at gmail.com
Mon May 16 21:04:59 PDT 2011
Hi.
How i can check enabled service?
1)
# systemctl enable acpid.service
ln -s '/lib/systemd/system/acpid.service'
'/etc/systemd/system/multi-user.target.wants/acpid.service'
# systemctl is-enabled acpid.service; echo $?
0
OK
2)
# systemctl disable acpid.service
rm '/etc/systemd/system/multi-user.target.wants/acpid.service'
# systemctl is-enabled acpid.service; echo $?
0
^^^
Ok? i waiting non-zero exit code.
i have a systemd-v26.
--
Alexey Shabalin
More information about the systemd-devel
mailing list