]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Add the requisite dh stuff to install the systemd unit files correctly
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 8 Dec 2017 11:49:18 +0000 (11:49 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Fri, 8 Dec 2017 11:50:31 +0000 (11:50 +0000)
debian/control.in
debian/rules

index 3daac52876ff007e9e1fe5e9d2bf0bc170644181..83c9bb60db7227de876a93d4542bfee02fc4a587 100644 (file)
@@ -2,6 +2,7 @@ Source: freeradius
 Build-Depends: @BUILDDEPS@ debhelper (>= 9),
  quilt,
  dpkg-dev (>= 1.13.19),
+ dh-systemd (>= 1.5),
  autotools-dev,
  libcurl4-openssl-dev | libcurl4-gnutls-dev,
  libcap-dev,
index 1bf90c7ddc0bebdce72cbfc5b9996d32fb834d93..1d3538b22fe612cf736873813c1f66a7a4922ad6 100755 (executable)
@@ -204,7 +204,9 @@ binary-common:
        dh_installexamples
        dh_installlogrotate
        dh_installpam --name=radiusd
+       dh_systemd_enable
        dh_installinit --noscripts
+       dh_systemd_start
        dh_installman
        dh_lintian
        dh_link