2012-10-01 07:29:06 -07:00
|
|
|
user_commands=(
|
|
|
|
list-units is-active status show help list-unit-files
|
2015-07-31 04:58:02 -07:00
|
|
|
is-enabled list-jobs show-environment cat)
|
2012-10-01 07:29:06 -07:00
|
|
|
|
|
|
|
sudo_commands=(
|
|
|
|
start stop reload restart try-restart isolate kill
|
|
|
|
reset-failed enable disable reenable preset mask unmask
|
2015-07-31 04:58:02 -07:00
|
|
|
link load cancel set-environment unset-environment
|
|
|
|
edit)
|
2012-10-01 07:29:06 -07:00
|
|
|
|
|
|
|
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
|