Move openvpn-home.sh script to bin/

This commit is contained in:
Martin Blazik
2022-05-16 10:28:57 +02:00
parent f29afdbdd7
commit c38c3cadba

9
bin/openvpn-home.sh Executable file
View 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