# Pinephone: > up>> up>> # More generally: ? > [ ? > [ ? > [ >> $log ! ] ] ] ? >> [ ["/usr/lib/synit/qmi-wwan-manager" $dev $apn]> # Occasionally qmi-wwan-manager complains on stderr about the link going away, but doesn't # terminate. Fortunately it doesn't seem to talk on stderr at all unless the link goes away, # so we interpret any stderr activity (!) as indication of a problem here. $log ?? > stream: stderr pid: ?pid }> [ # We used to just do this: # # $config ! >> # # ... but it immediately restarts the service, causing lots of pointless load and log spam. # TODO: make it so you can include an exit status in the restart request; something like # "restart immediately" vs "simulated normal termination" vs "simulated error termination", # triggering the appropriate supervisor behaviours. # # So instead we kill the qmicli program with a signal, which *does* trigger the supervisor # in the right way. let ?pid = stringify $pid $config ! ] ]