Updated README:
- updated setup instructions Added scripts directory with the systemd config files
This commit is contained in:
parent
10a617aea9
commit
df623f5d75
3 changed files with 39 additions and 4 deletions
6
scripts/flashairup.service
Normal file
6
scripts/flashairup.service
Normal 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
8
scripts/flashairup.timer
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Start sync every 7 seconds
|
||||
[Timer]
|
||||
OnBootSec=20
|
||||
OnUnitActiveSec=7
|
||||
AccuracySec=1ms
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue