Files
linux-workspace/scripts/openvpn-home.sh
2022-05-02 08:24:14 +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