wwan-config: Automatically restart service when it fails
It may happen that the service is failing, because the modem is in an unpredictable state. To avoid this kind of cases and increase the resilience of the system, systemd will now restart the service if it fails, leading to a full power cycle of the modem. BugzID: 63740
This commit is contained in:
parent
af1e36b559
commit
07f045cac2
|
|
@ -6,6 +6,7 @@ Before=ModemManager.service
|
|||
Type=forking
|
||||
ExecStart=/usr/bin/wwan-config %I
|
||||
PIDFile=/run/%I.pid
|
||||
Restart=on-failure
|
||||
|
||||
[Install]
|
||||
RequiredBy=ModemManager.service
|
||||
|
|
|
|||
Loading…
Reference in New Issue