SystemD - F-16

Fedora User fedoradch at gmail.com
Sun Nov 13 04:50:01 UTC 2011


On Sat, 12 Nov 2011 16:53:05 -0700
"T.C. Hollingsworth" <tchollingsworth at gmail.com> wrote:

> 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.

Perhaps there is a way to get back to SysV without changing distros ;-)


More information about the users mailing list