8 lines
110 B
Bash
Executable File
8 lines
110 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
RET=$(pgrep openvpn)
|
|
|
|
if [ $? -eq 1 ]; then
|
|
systemctl restart openvpn@openvpn-server
|
|
fi
|