From b4113d7c930f722bb8fcac646e06500309cfc36c Mon Sep 17 00:00:00 2001 From: st33v Date: Sun, 19 Nov 2017 10:38:05 +1100 Subject: adapted carport timer and service to watchdog --- wlanWDog.service | 4 ++-- wlanWDog.timer | 9 ++++----- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/wlanWDog.service b/wlanWDog.service index c2ddf84..e9c72e6 100644 --- a/wlanWDog.service +++ b/wlanWDog.service @@ -1,7 +1,7 @@ [Unit] -Description=little pix from D-link cam +Description=Send the wireless LAN watchdog prowling for a connection. [Service] Type=oneshot User=st33v -ExecStart=-/usr/local/bin/takecarportpix.sh +ExecStart=-/usr/local/bin/wlanWDprowl.sh diff --git a/wlanWDog.timer b/wlanWDog.timer index 2a05b43..a9c9829 100644 --- a/wlanWDog.timer +++ b/wlanWDog.timer @@ -1,11 +1,10 @@ [Unit] -Description= Take a photo every thirty seconds +Description=Walk the wireless watchdog [Timer] -#OnBootSec=1min -AccuracySec=1us -OnCalendar=*:*:00,30 -Unit=carport.service +OnActiveSec=5min +#OnCalendar=*:*:00,30 +Unit=wlanWDog.service [Install] WantedBy=timers.target -- cgit v1.3