aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 13:28:25 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2018-09-10 16:09:54 +0200
commit516697e29a090c0137c49c66731b5d93125e8f7e (patch)
tree5b764bb49994e45fa05cc4139a5aa9116318f0c7 /contrib
parent3e9c071aa66d2a7f7465c4cac229f205d2dbecdd (diff)
Install systemd services with autotools
Diffstat (limited to 'contrib')
-rw-r--r--contrib/Makefile.am1
-rw-r--r--contrib/systemd/Makefile.am5
-rw-r--r--contrib/systemd/osmo-pcu.service (renamed from contrib/osmo-pcu.service)0
3 files changed, 6 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
new file mode 100644
index 00000000..3439c97b
--- /dev/null
+++ b/contrib/Makefile.am
@@ -0,0 +1 @@
+SUBDIRS = systemd
diff --git a/contrib/systemd/Makefile.am b/contrib/systemd/Makefile.am
new file mode 100644
index 00000000..f565234f
--- /dev/null
+++ b/contrib/systemd/Makefile.am
@@ -0,0 +1,5 @@
+if HAVE_SYSTEMD
+EXTRA_DIST = osmo-pcu.service
+systemdsystemunit_DATA = \
+ osmo-pcu.service
+endif
diff --git a/contrib/osmo-pcu.service b/contrib/systemd/osmo-pcu.service
index 6329d31e..6329d31e 100644
--- a/contrib/osmo-pcu.service
+++ b/contrib/systemd/osmo-pcu.service