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

 }
 
 restart()
@@ -89,18 +87,17 @@
     start
 }
 

-    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)
+        rm -f $pidfile
+    fi
     retval=$?
