Hi Tony

Sorry for the late reply, I suffered the same but I only just found out
how to fix this:



Add the following script to /lib/systemd/system-sleep (in case you are
using systemd):

$ cat /lib/systemd/system-sleep/openvpn.sh
#!/bin/bash
case "$1" in
        post)
                /bin/systemctl restart openvpn
                ;;
esac


or the following script to /etc/pm/sleep.d in case you are still using
sysv init:

$ cat /etc/pm/sleep.d/99openvpn
#!/bin/bash
case "$1" in
        resume|thaw)
                /etc/init.d/openvpn restart
                ;;
esac


Of coure in either case the script has to be executable (chmod +x)

hope this helps
regards
lukn


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/mgli7i$de4$1...@ger.gmane.org

Reply via email to