Use systemctl for all operations

This commit is contained in:
2021-03-31 16:22:18 +02:00
parent a466615d3a
commit 90bff659de

View File

@@ -2,6 +2,7 @@
# Default or unrecognized stops the listed services
serviceOp="stop"
serviceCtl="$(command -v systemctl) -q"
case $1 in
start|restart|stop)
@@ -11,5 +12,4 @@ case $1 in
serviceOp="stop";;
esac
#/usr/sbin/service danted $serviceOp
#/usr/sbin/service privoxy $serviceOp
#"$serviceCtl" $serviceOp danted