Add systemd services for e1d and sip-endpoint
This commit is contained in:
parent
fde31864a2
commit
316ad24d43
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=Osmocom SIP endpoint
|
||||
After=network-online.target osmo-v5-le.service
|
||||
Wants=network-online.target osmo-v5-le.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/osmo-cc-sip-endpoint --config /etc/osmocom/osmo-cc-sip-endpoint.cfg
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=Osmocom E1 Interface Daemon
|
||||
Wants=osmo-e1d.service
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=always
|
||||
ExecStart=/usr/bin/osmo-e1d -c /etc/osmocom/osmo-e1d.cfg
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in New Issue