Skip to content

Commit

Permalink
Relaxed cam timer and enabled at boot
Browse files Browse the repository at this point in the history
  • Loading branch information
j54n1n committed Nov 5, 2018
1 parent 881b786 commit d30e50e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions openhab/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ install:
install -m 644 devices-proxy-cam.service /usr/lib/systemd/system/
install -m 644 devices-proxy-cam.timer /usr/lib/systemd/system/
systemctl daemon-reload
systemctl enable devices-proxy-cam.timer
systemctl start devices-proxy-cam.timer

uninstall:
Expand Down
5 changes: 4 additions & 1 deletion openhab/devices-proxy-cam.timer
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,7 @@
Description=Run devices-proxy-cam.service every second

[Timer]
OnCalendar=*:*:0/1
OnCalendar=*:*:0/2

[Install]
WantedBy=timers.target

0 comments on commit d30e50e

Please sign in to comment.