Files
osmo-cbc/contrib/systemd/osmo-cbc.service
Max b3743e9603 .deb/.rpm: add osmocom user during package install
Create osmocom user & group during package installation.
Fix the configuration dir/files permission to match.

Related: OS#4107
Tweaked-By: Oliver Smith <osmith@sysmocom.de>
Change-Id: Ifcc882125a22d8f2e1bfcd19622aed4e8a723e6c
2024-04-24 16:18:33 +02:00

18 lines
338 B
Desktop File

[Unit]
Description=Osmocom CBC (Cell Broadcasting Centre)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
StateDirectory=osmocom
WorkingDirectory=%S/osmocom
Restart=always
User=osmocom
Group=osmocom
ExecStart=/usr/bin/osmo-cbc -c /etc/osmocom/osmo-cbc.cfg
RestartSec=2
[Install]
WantedBy=multi-user.target