Re: [systemd-devel] how check enabled service

2011-05-17 Thread Michal Schmidt
On 05/17/2011 06:04 AM, Alexey Shabalin wrote: 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

[systemd-devel] how check enabled service

2011-05-16 Thread Alexey Shabalin
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