  }
  
  restart()
-@@ -80,8 +78,6 @@
+@@ -82,8 +81,6 @@
      start
  }
  

         echo "User has insufficient privilege."
         exit 4
     fi
-    echo -n $"Stopping pScheduler $prog: "
-        if [ -s "$pidfile" ]; then
-	    kill $(cat $pidfile) || failure "Stopping pScheduler $prog"
-	    rm -f $pidfile
-	fi
+    log_daemon_msg "Stopping pScheduler $prog" "pscheduler-$prog"
+    if [ -s "$pidfile" ]; then
+        kill $(cat $pidfile) || failure "Stopping pScheduler $prog"
+        rm -f $pidfile
+    fi
     retval=$?

     if [ ! -s "$logfile" ] ; then
         echo "(This file should be empty unless there's a catastrophic failure.)" >> "$logfile"
     fi
@@ -54,26 +55,24 @@
        -c "$exec --daemon --pid-file '$pidfile' --dsn '@$config'" \
 	>> "$logfile" 2>&1 &
     retval=$?
