I'm the Debian maintainer.  :)

Fancy meeting you here :) OT, you might want to patch the debian init script now that QP supports SIGHUP. Here's my local patch, but I haven't bothered scrutinizing and un-preforkifying and therefore officially sending it in:

--- dc-smtpd/debian/dc-smtpd.init       (revision 8819)
+++ dc-smtpd/debian/dc-smtpd.init       (revision 8820)
@@ -112,6 +112,12 @@
        fi
 }

+qpsmtpd_reload()
+{
+    start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE
+    return 0
+}
+
 case "$1" in
        start)
                echo -n "Starting qpsmtpd: "
@@ -123,7 +129,12 @@
                qpsmtpd_stop
                echo "qpsmtpd-prefork."
                ;;
-       restart|reload|force-reload)
+    reload|force-reload)
+        echo -n "Reloading qpsmtpd: "
+        qpsmtpd_reload
+        echo "qpsmtpd-prefork."
+        ;;
+       restart)
                qpsmtpd_stop
                qpsmtpd_start
                ;;

-Jared

Reply via email to