Files
linux-workspace/bin/openvpn-home.sh
2022-05-16 10:28:57 +02:00

10 lines
152 B
Bash
Executable File

#!/bin/bash
SERVICE_NAME="openvpn@home.service"
if (( $# < 1 )); then
sudo systemctl status $SERVICE_NAME
else
sudo systemctl $1 $SERVICE_NAME
fi