Restart qmi-wwan-manager if it prints anything at all on stderr
This commit is contained in:
parent
89e9898d1e
commit
67169a5ccd
|
@ -16,4 +16,10 @@
|
|||
|
||||
? <run-service <daemon <qmi-wwan-manager ?dev ?apn>>> [
|
||||
<daemon <qmi-wwan-manager $dev $apn> ["/usr/lib/synit/qmi-wwan-manager" $dev $apn]>
|
||||
$log ?? <log _ {
|
||||
service: <daemon <qmi-wwan-manager $dev $apn>>
|
||||
stream: stderr
|
||||
}> [
|
||||
$config ! <restart-service <daemon <qmi-wwan-manager $dev $apn>>>
|
||||
]
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue