Install systemd services with autotools

Change-Id: I103bf3468d53578045593eac31b61f7e0248495e
diff --git a/debian/control b/debian/control
index 330945f..46a6b67 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@
 Maintainer: Alexander Couzens <lynxis@fe80.eu>
 Build-Depends: debhelper (>=9),
                dh-autoreconf,
+               dh-systemd (>= 1.5),
                autotools-dev,
                autoconf,
                automake,
diff --git a/debian/osmo-gbproxy.install b/debian/osmo-gbproxy.install
index 8272551..9c7fb77 100644
--- a/debian/osmo-gbproxy.install
+++ b/debian/osmo-gbproxy.install
@@ -1,3 +1,4 @@
+lib/systemd/system/osmo-gbproxy.service
 usr/bin/osmo-gbproxy
 usr/share/doc/osmo-sgsn/examples/osmo-gbproxy/osmo-gbproxy-legacy.cfg usr/share/doc/osmo-gbproxy/examples
 usr/share/doc/osmo-sgsn/examples/osmo-gbproxy/osmo-gbproxy.cfg usr/share/doc/osmo-gbproxy/examples
diff --git a/debian/osmo-gbproxy.service b/debian/osmo-gbproxy.service
deleted file mode 120000
index d23c649..0000000
--- a/debian/osmo-gbproxy.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-gbproxy.service
\ No newline at end of file
diff --git a/debian/osmo-gtphub.install b/debian/osmo-gtphub.install
index ed0bd1b..568caaf 100644
--- a/debian/osmo-gtphub.install
+++ b/debian/osmo-gtphub.install
@@ -1,3 +1,4 @@
+lib/systemd/system/osmo-gtphub.service
 usr/bin/osmo-gtphub
 usr/share/doc/osmo-sgsn/examples/osmo-gtphub/osmo-gtphub-1iface.cfg usr/share/doc/osmo-gtphub/examples
 usr/share/doc/osmo-sgsn/examples/osmo-gtphub/osmo-gtphub.cfg usr/share/doc/osmo-gtphub/examples
diff --git a/debian/osmo-gtphub.service b/debian/osmo-gtphub.service
deleted file mode 120000
index 81a0eb4..0000000
--- a/debian/osmo-gtphub.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-gtphub.service
\ No newline at end of file
diff --git a/debian/osmo-sgsn.install b/debian/osmo-sgsn.install
index 9390deb..9d603f9 100644
--- a/debian/osmo-sgsn.install
+++ b/debian/osmo-sgsn.install
@@ -1,3 +1,4 @@
+lib/systemd/system/osmo-sgsn.service
 usr/bin/osmo-sgsn
 usr/share/doc/osmo-sgsn/examples/osmo-sgsn/osmo-sgsn.cfg usr/share/doc/osmo-sgsn/examples
 usr/share/doc/osmo-sgsn/examples/osmo-sgsn/osmo-sgsn-accept-all.cfg usr/share/doc/osmo-sgsn/examples
diff --git a/debian/osmo-sgsn.service b/debian/osmo-sgsn.service
deleted file mode 120000
index de22d90..0000000
--- a/debian/osmo-sgsn.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-sgsn.service
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index fb31c58..af6b5b6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -46,7 +46,7 @@
 
 # debmake generated override targets
 # Set options for ./configure
-CONFIGURE_FLAGS += --enable-iu
+CONFIGURE_FLAGS += --enable-iu --with-systemdsystemunitdir=/lib/systemd/system
 override_dh_auto_configure:
 	dh_auto_configure -- $(CONFIGURE_FLAGS)
 #