Add systemd daemon-reload alias
This commit is contained in:
parent
d848c94804
commit
3134bbd76c
@ -6,7 +6,7 @@ sudo_commands=(
|
|||||||
start stop reload restart try-restart isolate kill
|
start stop reload restart try-restart isolate kill
|
||||||
reset-failed enable disable reenable preset mask unmask
|
reset-failed enable disable reenable preset mask unmask
|
||||||
link load cancel set-environment unset-environment
|
link load cancel set-environment unset-environment
|
||||||
edit)
|
edit daemon-reload)
|
||||||
|
|
||||||
for c in $user_commands; do; alias sc-$c="systemctl $c"; done
|
for c in $user_commands; do; alias sc-$c="systemctl $c"; done
|
||||||
for c in $sudo_commands; do; alias sc-$c="sudo systemctl $c"; done
|
for c in $sudo_commands; do; alias sc-$c="sudo systemctl $c"; done
|
||||||
|
Loading…
Reference in New Issue
Block a user