Removing the extra "v" makes the script run, but it does
not restart. To achieve that, an additional change is 
needed, namely replacing "$DAEMON" with "atd" in the stop
command:

...
  force-reload|restart)
    echo -n "Restarting deferred execution scheduler: atd"
    start-stop-daemon --stop --quiet --oknodo --retry 30 --pidfile $PIDFILE 
--name atd
    start-stop-daemon --start --quiet --pidfile $PIDFILE --startas $DAEMON -- 
$ARGS
    echo "."
    ;;
  *)
...

Arno

-- 
Arno Wagner, Dipl. Inform., CISSP --- CSG, ETH Zurich, [EMAIL PROTECTED] 
GnuPG:  ID: 1E25338F  FP: 0C30 5782 9D93 F785 E79C  0296 797F 6B50 1E25 338F
----
Cuddly UI's are the manifestation of wishful thinking. -- Dylan Evans
Windows is the "under-3" toy of the OS world. -- Matthew D. Fuller


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to