1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-08 00:53:58 +02:00
tldr/pages/linux/systemctl-restart.md
Luis Angel Sanchez Muniz bea50351b7
systemctl-restart: add page (#17892)
* systemctl-restart: add page

* Update pages/linux/systemctl-restart.md

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>

* Update pages/linux/systemctl-restart.md

Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>

---------

Co-authored-by: Dylan <145150333+dmmqz@users.noreply.github.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-09-01 12:37:57 +05:30

449 B

systemctl restart

Stop and then start one or more systemd units. Can be used in place of systemctl start on a stopped unit, but start is safer so that a running unit isn't accidentally restarted. More information: https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#restart%20PATTERN%E2%80%A6.

  • Restart a unit:

systemctl restart {{unit}}

  • Restart more than one unit:

systemctl restart {{unit1 unit2 ...}}