[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Start/Stop Script



Hi!

Jim Knuth wrote:
        start-stop-daemon --start --quiet --make-pidfile --pidfile /var/run/$NAME.pid \
                --exec $DAEMON $OPT
Da nimmt es die Parameter nicht. ($OPT)

man start-stop-daemon:
  start-stop-daemon -S|--start Optionen [--] Argumente

grep '\-\-exec' /etc/init.d/*
zeigt weitere Beispiele.

Im Klartext: Es heisst also bezüglich dieses Problems:
     start-stop-daemon --start --quiet --make-pidfile \
                       --pidfile /var/run/$NAME.pid \
                       --exec $DAEMON -- $OPT

Viel Erfolg,
Hans-Jürgen




Reply to: