This is an old revision of the document!
Systemd has replaced sysVinit as the default service manager in RHEL 7/8/9.
Some of the sysVinit commands have been symlinked to their RHEL 7/8/9 counterparts, however this will eventually be deprecated in favor of the standard systemd commands in the future.
SysVinit to systemd conversions
| Sysvinit | Runlevel | Systemd Target What does it do? | |||
|---|---|---|---|---|---|
| 0 | poweroff.target | System halt/shutdown | |||
| 1, s, | single | ||||
| 2, 4 | multi-user.target | ||||
| 3 | multi-user.target | ||||
| 5 | graphical.target | ||||
| 6 | reboot.target | ||||
| emergency | emergency.target | Emergency mode | |||
systemctl set-default <desired>.target