Restart a system managed by systemd through the normal shutdown path.
Which command is appropriate?
systemctl reboot requests a managed restart from systemd.
Detailed explanation
systemctl rebootCorrect. systemctl reboot requests a normal system restart.
Correct. systemctl reboot requests a normal system restart.
systemctl halt --restartIncorrect. halt --restart is not the standard systemctl syntax.
Incorrect. halt --restart is not the standard systemctl syntax.
systemctl isolate reboot.serviceIncorrect. reboot.service is not normally isolated as a target this way.
Incorrect. reboot.service is not normally isolated as a target this way.
systemctl stop systemdIncorrect. Stopping systemd directly would break system management.
Incorrect. Stopping systemd directly would break system management.
Try it yourself
An example you can run in a temporary verification environment.
systemctl reboot --help 2>/dev/null | head || trueExpected result
rebootのhelp。再起動は行わないKey points
- systemctl reboot
- Managed reboot
- PID 1
Notes
- Environment: systemctl helpのみ
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.