summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/SiteSpecific
diff options
context:
space:
mode:
authorJoey Hess2018-05-05 11:32:24 -0400
committerJoey Hess2018-05-05 11:32:24 -0400
commit4c88d4f0dab95deac11fac4cd59f84c1cb76d377 (patch)
treeeb205c310860aa8ec8376ed03eb05f3a69aed5d0 /src/Propellor/Property/SiteSpecific
parentd023707d420bff9de2463cf4910b7165e6ddc5d0 (diff)
propellor spin
Diffstat (limited to 'src/Propellor/Property/SiteSpecific')
-rw-r--r--src/Propellor/Property/SiteSpecific/JoeySites.hs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs
index ec4cac57..1fc290bb 100644
--- a/src/Propellor/Property/SiteSpecific/JoeySites.hs
+++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs
@@ -953,6 +953,7 @@ homePowerMonitor user hosts ctx sshkey = propertyList "home power monitor" $ pro
, "libghc-warp-dev"
, "libghc-http-client-dev"
, "libghc-reactive-banana-dev"
+ , "libghc-hinotify-dev"
]
servicename = "homepower"
servicefile = "/etc/systemd/system/" ++ servicename ++ ".service"
@@ -1020,7 +1021,9 @@ homeRouter = propertyList "home router" $ props
, "bogus-priv"
, "interface=wlan0"
, "domain=kitenet.net"
- , "dhcp-range=10.1.1.100,10.1.1.150,24h"
+ -- lease time is 30 minutes because the homepower
+ -- controller wants to know when clients disconnect
+ , "dhcp-range=10.1.1.100,10.1.1.150,30m"
, "no-hosts"
, "address=/honeybee.kitenet.net/10.1.1.1"
, "address=/house.kitenet.net/10.1.1.1"