mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-11-02 21:23:16 +00:00
contrib/systemd/osmo-trx-ipc.service: new file
Change-Id: Ic2ba7616c6909bd0a7e642554ecffa4939935b01
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
EXTRA_DIST = \
|
||||
osmo-trx-lms.service \
|
||||
osmo-trx-uhd.service \
|
||||
osmo-trx-usrp1.service
|
||||
osmo-trx-usrp1.service \
|
||||
osmo-trx-ipc.service
|
||||
|
||||
if HAVE_SYSTEMD
|
||||
SYSTEMD_SERVICES =
|
||||
@@ -18,5 +19,9 @@ if DEVICE_LMS
|
||||
SYSTEMD_SERVICES += osmo-trx-lms.service
|
||||
endif
|
||||
|
||||
if DEVICE_IPC
|
||||
SYSTEMD_SERVICES += osmo-trx-ipc.service
|
||||
endif
|
||||
|
||||
systemdsystemunit_DATA = $(SYSTEMD_SERVICES)
|
||||
endif # HAVE_SYSTEMD
|
||||
|
||||
11
contrib/systemd/osmo-trx-ipc.service
Normal file
11
contrib/systemd/osmo-trx-ipc.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Osmocom SDR BTS L1 Transceiver (IPC Backend)
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/osmo-trx-ipc -C /etc/osmocom/osmo-trx-ipc.cfg
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user