Install systemd services with autotools

Change-Id: Ia1a4fb62dee35737ece1f3501f352501eba2449e
diff --git a/debian/osmo-trx-lms.install b/debian/osmo-trx-lms.install
index dd9d407..b58c862 100644
--- a/debian/osmo-trx-lms.install
+++ b/debian/osmo-trx-lms.install
@@ -1,2 +1,3 @@
+lib/systemd/system/osmo-trx-lms.service
 /usr/bin/osmo-trx-lms
 /usr/share/doc/osmo-trx/examples/osmo-trx-lms/osmo-trx-limesdr.cfg /usr/share/doc/osmo-trx/examples/osmo-trx-lms/
diff --git a/debian/osmo-trx-lms.service b/debian/osmo-trx-lms.service
deleted file mode 120000
index d2d697a..0000000
--- a/debian/osmo-trx-lms.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-trx-lms.service
\ No newline at end of file
diff --git a/debian/osmo-trx-uhd.install b/debian/osmo-trx-uhd.install
index 8944b13..b7ec5ca 100644
--- a/debian/osmo-trx-uhd.install
+++ b/debian/osmo-trx-uhd.install
@@ -1,3 +1,4 @@
+lib/systemd/system/osmo-trx-uhd.service
 /usr/bin/osmo-trx-uhd
 /usr/share/doc/osmo-trx/examples/osmo-trx-uhd/osmo-trx-usrp_b200.cfg /usr/share/doc/osmo-trx/examples/osmo-trx-uhd/
 /usr/share/doc/osmo-trx/examples/osmo-trx-uhd/osmo-trx-limesdr.cfg /usr/share/doc/osmo-trx/examples/osmo-trx-uhd/
diff --git a/debian/osmo-trx-uhd.service b/debian/osmo-trx-uhd.service
deleted file mode 120000
index c67648f..0000000
--- a/debian/osmo-trx-uhd.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-trx-uhd.service
\ No newline at end of file
diff --git a/debian/osmo-trx-usrp1.install b/debian/osmo-trx-usrp1.install
index c7e54b1..112a149 100644
--- a/debian/osmo-trx-usrp1.install
+++ b/debian/osmo-trx-usrp1.install
@@ -1,3 +1,4 @@
+lib/systemd/system/osmo-trx-usrp1.service
 /usr/bin/osmo-trx-usrp1
 /usr/share/usrp/rev2/std_inband.rbf
 /usr/share/usrp/rev4/std_inband.rbf
diff --git a/debian/osmo-trx-usrp1.service b/debian/osmo-trx-usrp1.service
deleted file mode 120000
index a7b33ad..0000000
--- a/debian/osmo-trx-usrp1.service
+++ /dev/null
@@ -1 +0,0 @@
-../contrib/systemd/osmo-trx-usrp1.service
\ No newline at end of file
diff --git a/debian/patches/build-for-debian8.patch b/debian/patches/build-for-debian8.patch
index d44eb2f..cd1f356 100644
--- a/debian/patches/build-for-debian8.patch
+++ b/debian/patches/build-for-debian8.patch
@@ -50,8 +50,8 @@
  	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
  
  override_dh_auto_configure:
--	dh_auto_configure -- --with-uhd --with-usrp1 --with-lms
-+	dh_auto_configure -- --with-uhd --with-usrp1
+-	dh_auto_configure -- --with-uhd --with-usrp1 --with-lms --with-systemdsystemunitdir=/lib/systemd/system
++	dh_auto_configure -- --with-uhd --with-usrp1 --with-systemdsystemunitdir=/lib/systemd/system
  
  override_dh_strip:
  	dh_strip --dbg-package=osmo-trx-dbg
diff --git a/debian/rules b/debian/rules
index 8081162..68de706 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@
 	dh_shlibdeps --dpkg-shlibdeps-params=--ignore-missing-info
 
 override_dh_auto_configure:
-	dh_auto_configure -- --with-uhd --with-usrp1 --with-lms
+	dh_auto_configure -- --with-uhd --with-usrp1 --with-lms --with-systemdsystemunitdir=/lib/systemd/system
 
 override_dh_strip:
 	dh_strip --dbg-package=osmo-trx-dbg