Add systemd services for e1d and sip-endpoint

This commit is contained in:
Dennis Grunert 2024-04-18 13:09:35 +02:00
parent fde31864a2
commit 316ad24d43
2 changed files with 27 additions and 0 deletions

View File

@ -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

View File

@ -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