Operation Manual
Purpose
systemd target
SysV run-
level
System reboot
runlevel6.target,
reboot.target,
6
IMPORTANT: systemd Ignores /etc/inittab
The runlevels in a SysV init system are congured in /etc/inittab. systemd
does not use this conguration. Please refer to Section 8.2.2, “Custom Tar-
gets” (page 145) for instructions on how to create your own bootable target.
8.2.1.1 Commands to Change Targets
Use the following commands to operate with target units:
SysV init command
systemd command
Task
telinit Xsystemctl isolate
<my_target>.target
Change the
current tar-
get/runlevel
n/a
systemctl default
Change to
the default
target/runlev-
el
who -rsystemctl list-units
--type=target
Get the cur-
rent tar-
get/runlevel
or
runlevel
With systemd there is usually more
than one active target. The command
lists all targets currently active.
144 Reference










