On mer., 2013-11-27 at 22:58 +0100, Nicolas Rachinsky wrote: > So this should probably be > if [ -e $PLUTO ]; then > start-stop-daemon --start --quiet --pidfile $PIDFILE1 --exec > $PLUTO --test > /dev/null \ > || return 1 > fi > if [ -e $CHARON ]; then > start-stop-daemon --start --quiet --pidfile $PIDFILE2 --exec > $CHARON --test > /dev/null \ > || return 1 > fi
Except that what we actually want to start is /usr/sbin/ipsec (which will then start the needed daemon). My knowledge of s-s-d is not enough in this case to know the correct syntax. Regards, -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part