spamass-milter (0.4.0-2) unstable; urgency=medium
* Document milter env variables (closes: #816799)
+ * Do not remove the socket if spamass-milter is already running (closes:
+ #782252)
+ * Enable the hardening flags (closes: #879671)
-- Don Armstrong <don@debian.org> Thu, 10 May 2018 12:13:11 -0700
#!/usr/bin/make -f
DH_VERBOSE = 1
+# enable hardening
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
%:
dh $@ --parallel --with autotools_dev
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