I'm trying to restart openvpn in my namespace using monit.
The command that I use from the command line works fine:
ip netns exec vpn openvpn --daemon --config /etc/openvpn/vpn.conf
But when I try and use it in monit it says:
/etc/monit.d/monitrc:3: Program does not exist: 'ip'
How do I call the IP command or where is it found for the path?