bb6ff62a32
* [rc.local] refactor platform identification code to separate function Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [rc.local] infrastructure to take action according to installer.conf * [serial port watchdog] add service to watch serial port processes Monitor serial port processes. Kill ones stuck for too long. Signed-off-by: Ying Xie <ying.xie@microsoft.com> * [rc.local] start watchdog on serial port specified by installer.conf Signed-off-by: Ying Xie <ying.xie@microsoft.com>
13 lines
228 B
Desktop File
13 lines
228 B
Desktop File
[Unit]
|
|
Description=Monitor serial port processes, kill stuck ones
|
|
Requires=
|
|
After=rc.local.Service
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/serial-port-watchdog.py -t ttyS0
|
|
Restart=always
|
|
RestartSec=0
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|