| 1 |
[Unit] |
| 2 |
Description=Osmocom GSM BTS for virtual Um layer based on GSMTAP/UDP |
| 3 |
After=network-online.target |
| 4 |
Wants=network-online.target |
| 5 |
|
| 6 |
[Service] |
| 7 |
Type=simple |
| 8 |
ExecStart=/usr/bin/osmo-bts-virtual -s -c /etc/osmocom/osmo-bts-virtual.cfg |
| 9 |
StateDirectory=osmocom |
| 10 |
WorkingDirectory=%S/osmocom |
| 11 |
Restart=always |
| 12 |
RestartSec=2 |
| 13 |
User=osmocom |
| 14 |
Group=osmocom |
| 15 |
AmbientCapabilities=CAP_SYS_NICE |
| 16 |
|
| 17 |
# CPU scheduling policy: |
| 18 |
CPUSchedulingPolicy=rr |
| 19 |
# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority): |
| 20 |
CPUSchedulingPriority=11 |
| 21 |
# See sched(7) for further details on real-time policies and priorities |
| 22 |
|
| 23 |
[Install] |
| 24 |
WantedBy=multi-user.target |