* Yves-Alexis Perez <cor...@debian.org> [2013-11-28 21:53 +0100]: > 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.
These calls of s-s-d are there to test if the ike-daemons are running. They do not start them. In the original version both --test calls are useless and can be removed. Nicolas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org