Disable ttyS0, can not push syslog

This commit is contained in:
HaiMD 2021-08-05 08:59:54 +07:00
parent eadf962901
commit 27947c93e2
2 changed files with 17 additions and 0 deletions

View 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

View File

@ -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
# #