diff options
Diffstat (limited to 'debian/plptools.init')
-rw-r--r-- | debian/plptools.init | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/debian/plptools.init b/debian/plptools.init index 5e0f80d..78b7ba5 100644 --- a/debian/plptools.init +++ b/debian/plptools.init @@ -1,6 +1,6 @@ #! /bin/sh # -# start or stop the plptools daemon +# start or stop the plptools daemons # PATH=/sbin:/bin:/usr/sbin:/usr/bin @@ -24,21 +24,22 @@ case "$1" in echo -n "Starting $DESC ($DAEMON1): " start-stop-daemon --start --quiet \ --exec $DAEMON1 -- $NCPD_ARGS && \ - echo -n "done" || echo -n "already running" + echo -n "done" || echo -n "failed" echo "." + sleep 1 fi if test "$START_PLPNFSD" = "yes" ; then echo -n "Starting $DESC ($DAEMON2): " start-stop-daemon --start --quiet \ --exec $DAEMON2 -- $PLPNFSD_ARGS && \ - echo -n "done" || echo -n "already running" + echo -n "done" || echo -n "failed" echo "." fi if test "$START_PLPPRINTD" = "yes" ; then echo -n "Starting $DESC ($DAEMON3): " start-stop-daemon --start --quiet \ --exec $DAEMON3 -- $PLPPRINTD_ARGS && \ - echo -n "done" || echo -n "already running" + echo -n "done" || echo -n "failed" echo "." fi ;; |