diff --git a/install.sh b/install.sh index 85f6416..ec4848c 100644 --- a/install.sh +++ b/install.sh @@ -6,8 +6,6 @@ sudo apt install ffmpeg -y sudo timedatectl set-timezone Asia/Shanghai sudo apt install git -git config --global user.name xyj -git config --global user.email 1090822794@qq.com git config --global credential.helper store cd /home/pi @@ -23,7 +21,8 @@ python /home/pi/lot_manager/create_db.py mkdir /home/pi/mp4 cd /home/pi echo 'lihai_lot_walnutpi_dev_1' | tee device_name -sudo systemctl enable supervisor sudo systemctl start supervisor +sudo systemctl enable supervisor sleep 60 +sudo systemctl restart supervisor supervisorctl reload