#!/bin/sh

while [ 1 ]; do
	pgyvpnsvr=$(pidof pgyvpnsvr)
	[ -z "$pgyvpnsvr" ] && {
	    /etc/init.d/pgyvpn restart 2>&1 > /dev/null &
	}
	sleep 90
done
