access script for manylabs door
features:
- use rfid to record entry/exit at the manylabs door.
- automatically updates ids from this github repo when new ones are available
- keeps a local event log on the pi
- posts a enter/exit events on the #door channel of manylabs slack
- login to pi
- clone github repo using
git clone https://github.com/jhpoelen/manydoors.git access_control
- create symlink to start service
sudo ln -s /home/pi/rfid/access_control/access_control.conf /etc/init/access_control.conf
- restart service using
sudo service access_control restart
- edit crontab for synching github repo
crontab -e
- add
* * * * * cd /home/pi/rfid/access_control && git pull --rebase