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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to