mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-cbc.git
synced 2025-11-02 13:13:35 +00:00
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
18 lines
338 B
Desktop File
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
|