Pau Espin Pedrol | 4efce88 | 2017-11-09 15:00:12 +0100 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Osmocom Media Gateway (MGW) |
| 3 | |
| 4 | [Service] |
| 5 | Type=simple |
Max | 709aad2 | 2022-08-30 19:45:32 +0700 | [diff] [blame] | 6 | StateDirectory=osmocom |
| 7 | WorkingDirectory=%S/osmocom |
Pau Espin Pedrol | 4efce88 | 2017-11-09 15:00:12 +0100 | [diff] [blame] | 8 | Restart=always |
| 9 | ExecStart=/usr/bin/osmo-mgw -s -c /etc/osmocom/osmo-mgw.cfg |
| 10 | RestartSec=2 |
Max | a55bfdc | 2022-11-06 15:33:00 +0300 | [diff] [blame] | 11 | # CPU scheduling policy: |
| 12 | CPUSchedulingPolicy=rr |
| 13 | # For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority): |
| 14 | CPUSchedulingPriority=1 |
| 15 | # See sched(7) for further details on real-time policies and priorities |
Pau Espin Pedrol | 4efce88 | 2017-11-09 15:00:12 +0100 | [diff] [blame] | 16 | |
| 17 | [Install] |
| 18 | WantedBy=multi-user.target |