Max | 241f5bc | 2017-07-03 18:47:25 +0200 | [diff] [blame] | 1 | [Unit] |
Pau Espin Pedrol | e63c72a | 2018-09-06 15:06:20 +0200 | [diff] [blame] | 2 | Description=Osmocom osmo-pcu |
Max | 241f5bc | 2017-07-03 18:47:25 +0200 | [diff] [blame] | 3 | |
| 4 | [Service] |
| 5 | Type=simple |
| 6 | ExecStart=/usr/bin/osmo-pcu -c /etc/osmocom/osmo-pcu.cfg |
Max | 1ad2d3f | 2022-09-09 18:42:38 +0700 | [diff] [blame] | 7 | StateDirectory=osmocom |
| 8 | WorkingDirectory=%S/osmocom |
Max | 241f5bc | 2017-07-03 18:47:25 +0200 | [diff] [blame] | 9 | Restart=always |
| 10 | RestartSec=2 |
| 11 | RestartPreventExitStatus=1 |
| 12 | |
| 13 | # The msg queues must be read fast enough |
| 14 | CPUSchedulingPolicy=rr |
| 15 | CPUSchedulingPriority=1 |
| 16 | |
| 17 | [Install] |
| 18 | WantedBy=multi-user.target |