| elif [[ "$i" = @(daemon|system@(d|ctl)) ]]; then
|
| printf '\n\nNB: To restart a service after restarting the daemon, use\n"restart daemon <service1> <service2> ..." without
|
| punctuation\n\n'
|
| sudo /usr/bin/systemctl daemon-reload
|
| status systemd
|
| while [[ -n "$2" ]]; do
|
| echo
|
| pause "${bold}Restarting: $2$tput0"
|
| restart "$2"
|
| shift
|
| done
|