移除service中启动服务重定向输出到串口的操作
This commit is contained in:
parent
f0821f52b1
commit
c68d64a5f8
|
@ -4,7 +4,7 @@ After=appmainprog.service network-online.target
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash /home/avs/SampleApp/setup_avs.sh >& ttyS0
|
||||
ExecStart=/bin/bash /home/avs/SampleApp/setup_avs.sh
|
||||
StandardOutput=tty
|
||||
StandardError=tty
|
||||
Restart=always
|
||||
|
|
|
@ -5,7 +5,7 @@ Requires=6627_btservice.service
|
|||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/bin/bash /usr/bin/appmainprog.sh >& ttyS0
|
||||
ExecStart=/bin/bash /usr/bin/appmainprog.sh
|
||||
StandardOutput=tty
|
||||
StandardError=tty
|
||||
Restart=always
|
||||
|
|
Loading…
Reference in New Issue