diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/.zshrc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -175,9 +175,9 @@ function xhashd { } function Status Start Stop Restart Reload { - typeset script - for script in ${*}; { - sudo /etc/init.d/${script} ${0:l} + typeset service + for service in "${@}"; { + sudo systemctl ${0:l} ${service} } } |