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