JIIOryo / ams-client

ams client
MIT License
0 stars 0 forks source link

init.sh(py?)の作成 #56

Open JIIOryo opened 4 years ago

JIIOryo commented 4 years ago

やること

cp [サンプルのsetting系json]
mkdir log
mkdir log/logger
mkdir log/tmp

crontab の登録
# AMS
@reboot cd /home/pi/ams-client && python3 ams_client.py
* * * * * cd /home/pi/ams-client && python3 entry_points/unsent_log_sender.py
* * * * * cd /home/pi/ams-client && python3 entry_points/cameras.py
JIIOryo commented 3 years ago

cp config.template.json config.json

JIIOryo commented 3 years ago

cp gpio.template.json gpio.json

JIIOryo commented 3 years ago

cp sensor.template.json sensor.json

JIIOryo commented 3 years ago

cp camera_device.template.json camera_device.json

JIIOryo commented 3 years ago

cp camera.template.json camera.json