New sequence for installing openvpn with setup of custom scripts

This commit is contained in:
2021-03-27 05:35:11 +00:00
parent 260daa009c
commit 741d0c74c9
7 changed files with 168 additions and 0 deletions

15
seqs/openvpn/vpn-services Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# Default or unrecognized stops the listed services
serviceOp="stop"
case $1 in
start|restart|stop)
serviceOp="$1";;
*)
>&2 echo "Unrecognized argument. Stopping services"
serviceOp="stop";;
esac
#/usr/sbin/service danted $serviceOp
#/usr/sbin/service privoxy $serviceOp