How to disable services from CLI using systemctl
Hi, fellow Fedora users. I had been using Fedora 14 and did a fresh install of 16. I'm surprised to see there are no run level specific directories under
/etc/rc.d any more. So I don't know how to disable services I don't need, like sendmail for example. With Fedora 14 I'd go to /etc/rc.d/rc3.d and change the
name of @S88sendmail to @s88sendmail then run "service sendmail stop" and it wouldn't start on subsequent boots. When I could not find the /etc/rc.d/rc3.d
directory I ran "service sendmail stop" and noticed a message pop up "Redirecting to /bin/systemctl stop sendmail.service". So I looked through the manual
for systemctl and found the command "disable". It says it disables the unit but does not stop it. So I'd have to run "systemctl stop sendmail.service". Am I
reading this correctly? Does this work for all services the same way? Where can I find the list of services symbolic links? Thanks in advance.
|