diff options
author | Mikhail Gusarov <dottedmag@dottedmag.net> | 2014-03-28 15:51:16 +0100 |
---|---|---|
committer | Mikhail Gusarov <dottedmag@dottedmag.net> | 2014-03-29 10:36:57 +0100 |
commit | 18c0d55ea780036564e1ae642c9af1d02995cb08 (patch) | |
tree | 974361fdfeab780de484565f2ec0942ca7c87cb3 /debian/rules | |
parent | 16372c22a3c79e851e64be14f792d6867f2e2054 (diff) | |
download | rspamd-18c0d55ea780036564e1ae642c9af1d02995cb08.tar.gz rspamd-18c0d55ea780036564e1ae642c9af1d02995cb08.zip |
Add systemd unit
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index be4ab6e11..fbb555cb3 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f %: - dh $@ + dh $@ --with systemd export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed # Until https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739834 is fixed @@ -29,3 +29,6 @@ override_dh_auto_clean: override_dh_fixperms: dh_fixperms chmod 750 $(CURDIR)/debian/rspamd/var/lib/rspamd + +override_dh_systemd_start: + dh_systemd_start --restart-after-upgrade |