summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules8
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 9eb1014f1..e3959eb57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -32,5 +32,11 @@ override_dh_fixperms:
dh_fixperms
chmod 750 $(CURDIR)/debian/rspamd/var/lib/rspamd
+override_dh_systemd_enable:
+ dh_systemd_enable rspamd.socket
+
override_dh_systemd_start:
- dh_systemd_start --restart-after-upgrade
+ dh_systemd_start --restart-after-upgrade --no-start
+
+override_dh_installinit:
+ dh_installinit -n