Unverified Commit 116fc2fe authored by scrouthtv's avatar scrouthtv Committed by GitHub

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`
parent a01cf856
......@@ -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
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment