SystemD - F-16

Genes MailLists lists at sapience.com
Sat Nov 12 19:55:59 UTC 2011


On 11/11/2011 09:27 PM, T.C. Hollingsworth wrote:
\
> 
> systemd replaces numerical runlevels with named "targets".  Apart from
> that, it works very similar to how chkconfig works under the hood.
> "chkconfig --level 3 squid off" essentially just does "rm
> /etc/rc3.d/squid".  "chkconfig --level 5 squid on" just translates to
> "ln -sf /etc/init.d/squid /etc/rc5.d/".  The systemd way is very
> similar:
> 
> rm -f /etc/systemd/system/multi-user.target.wants/squid.service
> ln -sf /lib/systemd/system/squid.service
> /etc/systemd/system/graphical.target.wants/
> systemctl daemon-reload
> 

> -T.C.

 Perhaps there is a systemctl option to remove and reset the soft link?


More information about the users mailing list