Add vpnclient checker timer and upgrade backups, to enable Bram to sleep better
This commit is contained in:
7
conf/ynh-vpnclient-checker.sh
Normal file
7
conf/ynh-vpnclient-checker.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
if ! ip link show tun0 &> /dev/null; then
|
||||
systemctl restart ynh-vpnclient &> /dev/null
|
||||
fi
|
||||
|
||||
exit 0
|
Reference in New Issue
Block a user