8 lines
97 B
Bash
Executable File
8 lines
97 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
RET=$(pgrep openvpn)
|
|
|
|
if [ $? -eq 1 ]; then
|
|
/etc/init.d/openvpn restart
|
|
fi
|