Open main menu

CDOT Wiki β

Changes

OPS335 Lab 1

732 bytes added, 19:59, 15 January 2012
Managing services using systemd
Warning: unit files do not carry install information. No operation executed.
*Note the output of the above command - <code>libvirtd.service is not a native service, redirecting to /sbin/chkconfig</code>. How can you tell if a service is native or non-native to 'systemd'?
 
===How to change the default runlevel using systemd===
Fedora 16 does not use '/etc/inittab' to set the default run level but rather uses targets as a more flexible replacement. Note the output of the following command:
ll /etc/systemd/system/*.target
lrwxrwxrwx. 1 root root 36 Dec 3 09:35 /etc/systemd/system/default.target -> /lib/systemd/system/runlevel5.target
and
ll /lib/systemd/system/*.target
Systemd uses symbolic links to point to the default runlevel in use. To change the default runlevel you must first remove the existing symlink.
rm /etc/systemd/system/default.target
To change your system to boot in Graphical mode by default:
ln -sf /lib/systemd/system/multi-user.target /etc/systemd/system/default.target
=== Create your personal network ===
1
edit