Updated README:

- updated setup instructions

Added scripts directory with the systemd config files
This commit is contained in:
Dominique Roux 2020-07-16 15:44:31 +02:00
commit df623f5d75
3 changed files with 39 additions and 4 deletions

View file

@ -0,0 +1,6 @@
[Unit]
Description=Flashair syncronisation program
[Service]
WorkingDirectory=WORKDIR/flashairup/
ExecStart=WORKDIR/flashairup/main.py --sync

8
scripts/flashairup.timer Normal file
View file

@ -0,0 +1,8 @@
[Unit]
Description=Start sync every 7 seconds
[Timer]
OnBootSec=20
OnUnitActiveSec=7
AccuracySec=1ms
[Install]
WantedBy=timers.target