This commit is contained in:
xyj 2024-01-31 16:26:27 +08:00
parent d21f1d61e9
commit 52ce400a4c
1 changed files with 2 additions and 3 deletions

View File

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