Move openvpn-home.sh script to bin/
This commit is contained in:
9
bin/openvpn-home.sh
Executable file
9
bin/openvpn-home.sh
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
SERVICE_NAME="openvpn@home.service"
|
||||
|
||||
if (( $# < 1 )); then
|
||||
sudo systemctl status $SERVICE_NAME
|
||||
else
|
||||
sudo systemctl $1 $SERVICE_NAME
|
||||
fi
|
||||
Reference in New Issue
Block a user