fix(systemd): enable `--user` on restart command (#10543)

`restart` is a unit-related command, not power-related, so it should appear as `sc-restart=sudo systemctl restart` and `scu-restart=systemctl --user restart`
This commit is contained in:
scrouthtv 2021-12-30 10:44:57 +01:00 committed by GitHub
parent a01cf85627
commit 116fc2feaa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -45,6 +45,7 @@ sudo_commands=(
reload-or-restart
reset-failed
rescue
restart
revert
set-default
set-environment
@ -63,7 +64,6 @@ power_commands=(
hybrid-sleep
poweroff
reboot
restart
suspend
)