From d36e553edc5d456362c49c7eb865f618d41308ce Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 30 Jun 2019 19:23:49 -0400 Subject: moar watchdog --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/Propellor/Property/SiteSpecific/JoeySites.hs') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index faf242e0..fcbe8639 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -910,15 +910,16 @@ house user hosts ctx sshkey = propertyList "home automation" $ props & Systemd.enabled setupservicename `requires` setupserviceinstalled `onChange` Systemd.started setupservicename - & Systemd.enabled watchdogservicename - `requires` watchdogserviceinstalled - `onChange` Systemd.started watchdogservicename & Systemd.enabled pollerservicename `requires` pollerserviceinstalled `onChange` Systemd.started pollerservicename & Systemd.enabled controllerservicename `requires` controllerserviceinstalled `onChange` Systemd.started controllerservicename + & Systemd.enabled watchdogservicename + `requires` watchdogserviceinstalled + `onChange` Systemd.started watchdogservicename + & Apt.serviceInstalledRunning ["watchdog"] & User.hasGroup user (Group "dialout") & Group.exists (Group "gpio") Nothing & User.hasGroup user (Group "gpio") -- cgit v1.2.3