diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-02-04 14:14:19 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-02-05 08:42:09 +0100 |
commit | bb6cf15a24d90d296a8270bf0ad4b9c528c99ef6 (patch) | |
tree | cfed165d352991f3c133eee137587492f389c32e | |
parent | 15086a0d665c4d460248bad8fc0d75d3f3e7d04c (diff) |
Use dh-init-system-helpers for systemd services
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | debian/rules | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/control b/debian/control index fbeb173..e557e64 100644 --- a/debian/control +++ b/debian/control @@ -5,6 +5,7 @@ Maintainer: Alexander Sack <asac@ubuntu.com> Uploaders: Alexander Sack <asac@debian.org>, Michael Biebl <biebl@debian.org>, Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Build-Depends: debhelper (>= 9), dh-autoreconf, + dh-systemd, automake1.11, libtool, intltool, diff --git a/debian/rules b/debian/rules index c60f6a9..0f6555b 100755 --- a/debian/rules +++ b/debian/rules @@ -39,3 +39,7 @@ override_dh_install: find $(CURDIR)/debian/tmp/ -name \*.la -exec rm {} \; rm -f $(CURDIR)/debian/tmp/usr/lib/*/pppd/*/mm-test-pppd-plugin.* dh_install --fail-missing + +override_dh_installinit: + dh_systemd_enable + dh_systemd_start --restart-after-upgrade |