On jeu., 2013-11-28 at 23:36 +0100, Nicolas Rachinsky wrote:
> * Yves-Alexis Perez [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 --pi
* Yves-Alexis Perez [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 \
> >
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 ]; t
Package: strongswan-starter
Version: 4.5.2-1.5+deb7u2
In /etc/init.d/ipsec is the code
NAME=ipsec
STARTER=/usr/sbin/$NAME
...
PLUTO=/usr/lib/ipsec/pluto
CHARON=/usr/lib/ipsec/charon
...
if [ -e $PLUTO ]; then
start-stop-daemon --start --quiet --pidfile $PIDFILE1 --exec $STARTER
4 matches
Mail list logo