| Command | SysVinit | Systemd |
|---|---|---|
| 1. System halt | halt (et shutdown) | systemctl halt |
| 2. Power off | poweroff (et shutdown) | systemctl poweroff |
| 3. Reboot | reboot (et shutdown) | systemctl reboot |
| 4. Suspend | pm-suspend | systemctl suspend |
| 5. Hibernate | pm-hibernate | systemctl hibernate |
Pour des raisons de compatibilité, systemd utilise des liens symboliques de halt, poweroff, reboot,… vers systemctl.
see man systemctl :
systemctl isolate halt.targethas the shorthands:shutdown -H nowsystemctl halt- plain unadorned
halt
systemctl isolate reboot.targethas the shorthands:shutdown -r nowtelinit 6systemctl reboot- plain unadorned
reboot
systemctl isolate poweroff.targethas the shorthands:shutdown -P nowtelinit 0shutdown nowsystemctl poweroff- plain unadorned
poweroff
systemctl isolate rescue.targethas the shorthands:telinit 1systemctl rescue
systemctl isolate multi-user.targethas the shorthands:telinit 2telinit 3telinit 4
systemctl isolate graphical.targethas the shorthand:telinit 5
Pour en savoir plus
- man systemd.special : liste des units (et donc des targets) créés par systemd
- man bootup : diagrammes de boot avec les targets
Post TRES intéressant pour plus de détails.