Disable ttyS0, can not push syslog
This commit is contained in:
parent
eadf962901
commit
27947c93e2
13
monitor/setup/S905X_BI.service
Normal file
13
monitor/setup/S905X_BI.service
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description=S905X_BI demo service
|
||||||
|
After=network.target
|
||||||
|
StartLimitIntervalSec=0
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
Restart=always
|
||||||
|
RestartSec=1
|
||||||
|
User=root
|
||||||
|
ExecStart=/usr/bin/env /root/monitor/launcher/S905X_BI
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
|
@ -117,6 +117,10 @@ sudo /root/monitor/setup/serverlite.sh
|
||||||
#
|
#
|
||||||
#*************install p7zip-full**************
|
#*************install p7zip-full**************
|
||||||
sudo apt install p7zip-full
|
sudo apt install p7zip-full
|
||||||
|
# Disable ttyS0
|
||||||
|
systemctl stop serial-getty@ttyS0.service
|
||||||
|
systemctl daemon-reload
|
||||||
|
systemctl disable serial-getty@ttyS0.service
|
||||||
#
|
#
|
||||||
sudo apt-get -y update
|
sudo apt-get -y update
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue
Block a user