summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wlanWDog.service7
-rw-r--r--wlanWDog.timer11
2 files changed, 18 insertions, 0 deletions
diff --git a/wlanWDog.service b/wlanWDog.service
new file mode 100644
index 0000000..c2ddf84
--- /dev/null
+++ b/wlanWDog.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=little pix from D-link cam
+
+[Service]
+Type=oneshot
+User=st33v
+ExecStart=-/usr/local/bin/takecarportpix.sh
diff --git a/wlanWDog.timer b/wlanWDog.timer
new file mode 100644
index 0000000..2a05b43
--- /dev/null
+++ b/wlanWDog.timer
@@ -0,0 +1,11 @@
+[Unit]
+Description= Take a photo every thirty seconds
+
+[Timer]
+#OnBootSec=1min
+AccuracySec=1us
+OnCalendar=*:*:00,30
+Unit=carport.service
+
+[Install]
+WantedBy=timers.target