X-Git-Url: https://git.donarmstrong.com/?p=deb_pkgs%2Fspamass-milter.git;a=blobdiff_plain;f=debian%2Fspamass-milter.init;h=b94fd43e70339048e9bb642dfbfce22b91f26cc3;hp=310ae83ce6182856b2ac0a93c5204b58595a9438;hb=9663a5b6a8a216033d8ee3d5c64fc72b9fcb6972;hpb=0833643456f1faf38fe5220300caadab33372219 diff --git a/debian/spamass-milter.init b/debian/spamass-milter.init index 310ae83..b94fd43 100644 --- a/debian/spamass-milter.init +++ b/debian/spamass-milter.init @@ -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