### 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
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