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 | rescue.target Single-user mode | |||
| 2, 4 | multi-user.target | User-defined/Site-specific runlevels. By default, identical to 3. | |||
| 3 | multi-user.target | Multi-user, non-graphical mode, text console only | |||
| 5 | graphical.target | Multi-user, graphical mode | |||
| 6 | reboot.target | Reboot | |||
| emergency | emergency.target | Emergency mode | |||
systemctl set-default <desired>.target