SysVinit to Systemd cheatsheet change.. can someone verify it's right?

Toshio Kuratomi a.badger at gmail.com
Thu Feb 24 01:38:53 UTC 2011


I just made a couple changes to the first table of this page:
https://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet#Services

The chkconfig frozbozz --levels 345 on line listed systemctl enable
frozbozz.service as the main equivalent.  From running that command on
rawhide, that doesn't seem to be correct.  enable made the service active in
the targets that were listed in the services unit file (in the WantedBy=
line).  It didn't have anything to do with the runlevels that the system
administrator was specifying (345).

The second change is that the "manual" method specified there was  using
  ln -s ../frobozz.service /lib/systemd/system/runlevel3.target.wants/

This seems to be incorrect since it's touching /lib instead of /etc.  /etc
would both be the proper FHS place to do this (/lib and /etc could be on
separate partitions with different read-write permissions in FHS and /etc
might be backed up while /lib would not by a sysadmin that thinks the system
adheres to the FHS) and it seems to be where the systemctl enable command
puts the symlinks as well.

If someone who's more familiar with systemd could take a look and verify
that the updated equivalents are correct, that would be great.

-Toshio
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20110223/5c8c8faa/attachment.bin 


More information about the devel mailing list