diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-10 13:39:02 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-12 14:17:26 +0200 |
commit | 5ac2cb3662602d347bdd329cd81c7e746f309402 (patch) | |
tree | d17d1ce27a5012a7df730243cc0a95251daac6ae /contrib | |
parent | f4ee021b8cb045947fcefa834547eed9b13131bc (diff) |
Install systemd services with autotools
Change-Id: Ia1a4fb62dee35737ece1f3501f352501eba2449e
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/Makefile.am | 1 | ||||
-rw-r--r-- | contrib/systemd/Makefile.am | 18 |
2 files changed, 19 insertions, 0 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am new file mode 100644 index 0000000..3439c97 --- /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 0000000..21fbb53 --- /dev/null +++ b/contrib/systemd/Makefile.am @@ -0,0 +1,18 @@ +if HAVE_SYSTEMD +SYSTEMD_SERVICES = + +if DEVICE_UHD +SYSTEMD_SERVICES += osmo-trx-uhd.service +endif + +if DEVICE_USRP1 +SYSTEMD_SERVICES += osmo-trx-usrp1.service +endif + +if DEVICE_LMS +SYSTEMD_SERVICES += osmo-trx-lms.service +endif + +EXTRA_DIST = $(SYSTEMD_SERVICES) +systemdsystemunit_DATA = $(SYSTEMD_SERVICES) +endif # HAVE_SYSTEMD |