Pau Espin Pedrol | 7ed686b | 2018-06-19 10:29:41 +0200 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Osmocom SDR BTS L1 Transceiver (UHD Backend) |
Oliver Smith | 7e47a52 | 2023-05-26 14:10:49 +0200 | [diff] [blame] | 3 | After=network-online.target |
| 4 | Wants=network-online.target |
Pau Espin Pedrol | 7ed686b | 2018-06-19 10:29:41 +0200 | [diff] [blame] | 5 | |
| 6 | [Service] |
| 7 | Type=simple |
| 8 | Restart=always |
Max | 2f20c56 | 2022-09-09 18:54:42 +0700 | [diff] [blame] | 9 | StateDirectory=osmocom |
| 10 | WorkingDirectory=%S/osmocom |
Harald Welte | 6ee9dcc | 2023-11-24 10:38:34 +0100 | [diff] [blame^] | 11 | Environment=HOME=%h |
Pau Espin Pedrol | 7ed686b | 2018-06-19 10:29:41 +0200 | [diff] [blame] | 12 | ExecStart=/usr/bin/osmo-trx-uhd -C /etc/osmocom/osmo-trx-uhd.cfg |
| 13 | RestartSec=2 |
Max | f2f35fc | 2022-11-06 15:39:42 +0300 | [diff] [blame] | 14 | # CPU scheduling policy: |
| 15 | CPUSchedulingPolicy=rr |
| 16 | # For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority): |
| 17 | CPUSchedulingPriority=21 |
| 18 | # See sched(7) for further details on real-time policies and priorities |
Pau Espin Pedrol | 7ed686b | 2018-06-19 10:29:41 +0200 | [diff] [blame] | 19 | |
| 20 | [Install] |
| 21 | WantedBy=multi-user.target |