Package: anacron
Version: 2.3-13.1
Severity: minor
Tags: patch

Per LSB, "If a service reloads its configuration automatically (as in the case 
of cron, for example), the reload action of the init script shall behave as if 
the configuration was reloaded successfully."

I propose the following patch to fix that.

diff -u anacron-2.3/debian/init.d anacron-2.3/debian/init.d
--- anacron-2.3/debian/init.d
+++ anacron-2.3/debian/init.d
@@ -35,7 +35,7 @@
     start-stop-daemon --start --exec /usr/sbin/anacron -- -s
     log_end_msg 0
     ;;
-  restart|force-reload)
+  restart|force-reload|reload)
        # nothing to do
     :
     ;;
@@ -48,7 +48,7 @@
     exit 4
     ;;
   *)
-    echo "Usage: /etc/init.d/anacron {start|stop}"
+    echo "Usage: /etc/init.d/anacron {start|stop|restart|force-reload|reload}"
     exit 2
     ;;
 esac



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to