diff --git a/debian/changelog b/debian/changelog index 17a0a79b..e6385c39 100644 --- a/debian/changelog +++ b/debian/changelog @@ -10,6 +10,8 @@ fail2ban (0.11.2-3) unstable; urgency=medium [ Sylvestre Ledru ] * Fix the watch file + * Fix systemd-service-in-odd-location + lib/systemd/system/fail2ban.service => /usr/lib/systemd/system/fail2ban.service * Fix the roundcube debian custom path (Closes: #988323) Thanks to Kurt Fitzner for the patch * Do not fail the postinst if chown/chmod are failing (Closes: #926237) diff --git a/debian/rules b/debian/rules index 7cdb4df8..a2dd769c 100755 --- a/debian/rules +++ b/debian/rules @@ -45,11 +45,11 @@ override_dh_install: install -d $(DESTDIR)/usr/share/bash-completion/completions install -m 644 files/bash-completion $(DESTDIR)/usr/share/bash-completion/completions/fail2ban : # Install systemd files - install -d $(DESTDIR)/lib/systemd/system + install -d $(DESTDIR)/usr/lib/systemd/system/ install -d $(DESTDIR)/usr/lib/tmpfiles.d - install -m 644 build/fail2ban.service $(DESTDIR)/lib/systemd/system + install -m 644 build/fail2ban.service $(DESTDIR)/usr/lib/systemd/system install -m 644 files/fail2ban-tmpfiles.conf $(DESTDIR)/usr/lib/tmpfiles.d - install -d $(DESTDIR)/lib/systemd/system + install -d $(DESTDIR)/usr/lib/systemd/system : # Install default jail enabler install -m 644 debian/debian-files/jail.d_defaults-debian.conf $(DESTDIR)/etc/fail2ban/jail.d/defaults-debian.conf dh_install