SystemD - F-16
T.C. Hollingsworth
tchollingsworth at gmail.com
Sat Nov 12 23:53:05 UTC 2011
On Sat, Nov 12, 2011 at 12:55 PM, Genes MailLists <lists at sapience.com> wrote:
> 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?
"systemctl disable" and "systemctl reset", respectively.
-T.C.
More information about the users
mailing list