I am creating an upstart conf to manage different VPN connections. The problem is that if the
pppd daemon dies,
initctl still think it is
This is my current
description "VPN clients" instance $vpn export vpn pppd call $vpn
How can I make upstart understand that if the daemon dies the status is not running any more ?
When the client is running the process tree looks like this:
root 30502 1 0 Aug11 ? S 0:00 pppd call 162.xx.yy.42 root 30503 30502 0 Aug11 ? S 0:00 \_ sh -c pptp 162.xx.yy.42 --nolaunchpppd root 30504 30503 0 Aug11 ? S 0:07 \_ pptp 162.xx.yy.42 --nolaunchpppd