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 |
Max | 1002c43 | 2022-11-06 15:44:12 +0300 | [diff] [blame] | 12 | # CPU scheduling policy: |
Max | 241f5bc | 2017-07-03 18:47:25 +0200 | [diff] [blame] | 13 | CPUSchedulingPolicy=rr |
Max | 1002c43 | 2022-11-06 15:44:12 +0300 | [diff] [blame] | 14 | # For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority): |
| 15 | CPUSchedulingPriority=11 |
| 16 | # See sched(7) for further details on real-time policies and priorities |
Max | 241f5bc | 2017-07-03 18:47:25 +0200 | [diff] [blame] | 17 | |
| 18 | [Install] |
| 19 | WantedBy=multi-user.target |