commands.sh

systemctl restart

linux

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 info →

Examples (3)

Restart a unit

Restart more than one unit

systemctl restart unit1 unit2 ...

Restart a user unit

systemctl restart unit --user
made by @shridhargupta | data from tldr-pages