blob: b187e1ac4e6ebe37c6f581502bea9be7a92967fc [file] [log] [blame]
Pau Espin Pedrol4efce882017-11-09 15:00:12 +01001[Unit]
2Description=Osmocom Media Gateway (MGW)
Oliver Smith72f91152023-05-26 14:10:46 +02003After=network-online.target
4Wants=network-online.target
Pau Espin Pedrol4efce882017-11-09 15:00:12 +01005
6[Service]
7Type=simple
Max709aad22022-08-30 19:45:32 +07008StateDirectory=osmocom
9WorkingDirectory=%S/osmocom
Pau Espin Pedrol4efce882017-11-09 15:00:12 +010010Restart=always
11ExecStart=/usr/bin/osmo-mgw -s -c /etc/osmocom/osmo-mgw.cfg
12RestartSec=2
Maxa55bfdc2022-11-06 15:33:00 +030013# CPU scheduling policy:
14CPUSchedulingPolicy=rr
15# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
16CPUSchedulingPriority=1
17# See sched(7) for further details on real-time policies and priorities
Pau Espin Pedrol4efce882017-11-09 15:00:12 +010018
19[Install]
20WantedBy=multi-user.target