diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-10 14:10:29 +0200 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-09-13 12:06:08 +0200 |
commit | 422492998660ba40d3d7986fd43e1d7aafa3774a (patch) | |
tree | de0be8bc7dd9a2afcdae65c9ffe7b0d9547233ed /openbsc/contrib | |
parent | ac1b03c8e59408336d07527e2597171cb99ed654 (diff) |
Install systemd services with autotools
Change-Id: I9bc40cf9e9a901d28d1f1629f6f1d55e8ba0c0b6
Diffstat (limited to 'openbsc/contrib')
-rw-r--r-- | openbsc/contrib/Makefile.am | 1 | ||||
-rw-r--r-- | openbsc/contrib/systemd/Makefile.am | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/openbsc/contrib/Makefile.am b/openbsc/contrib/Makefile.am new file mode 100644 index 000000000..3439c97be --- /dev/null +++ b/openbsc/contrib/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = systemd diff --git a/openbsc/contrib/systemd/Makefile.am b/openbsc/contrib/systemd/Makefile.am new file mode 100644 index 000000000..69f973e5e --- /dev/null +++ b/openbsc/contrib/systemd/Makefile.am @@ -0,0 +1,14 @@ +if HAVE_SYSTEMD +SYSTEMD_SERVICES = osmo-nitb.service osmo-bsc-mgcp.service + +if BUILD_NAT +SYSTEMD_SERVICES += osmo-bsc-nat.service +endif + +if BUILD_BSC +SYSTEMD_SERVICES += osmo-bsc-sccplite.service +endif + +EXTRA_DIST = $(SYSTEMD_SERVICES) +systemdsystemunit_DATA = $(SYSTEMD_SERVICES) +endif # HAVE_SYSTEMD |