X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=debian%2Fspamass-milter.init;h=b94fd43e70339048e9bb642dfbfce22b91f26cc3;hb=9663a5b6a8a216033d8ee3d5c64fc72b9fcb6972;hp=68d423216a7b5b0b54ab87754a87a18373136fba;hpb=5e6a2c0b6bc240fe63b1cf71dd83e43a02af0cef;p=deb_pkgs%2Fspamass-milter.git diff --git a/debian/spamass-milter.init b/debian/spamass-milter.init index 68d4232..b94fd43 100644 --- a/debian/spamass-milter.init +++ b/debian/spamass-milter.init @@ -36,8 +36,8 @@ ### BEGIN INIT INFO # Provides: spamass-milter -# Required-Start: $syslog $local_fs -# Required-Stop: $syslog $local_fs +# Required-Start: $syslog $local_fs $remote_fs +# Required-Stop: $syslog $local_fs $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: milter for spamassassin @@ -90,6 +90,10 @@ fi; set -e start() { + if status; then + echo "$NAME is already running"; + exit 1; + fi; # Because the default socket is in the same location as the # pidfile, we create them in this order. for DIR in "$(dirname $PIDFILE)" "$(dirname $SOCKET)"; do