summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Apache.hs
diff options
context:
space:
mode:
authorJoey Hess2014-09-23 13:19:26 -0400
committerJoey Hess2014-09-23 13:21:53 -0400
commitf6ac681da0abef920d745ac4729c953ff64a4bb5 (patch)
tree748763c0bcf0273e022c7adc80a05d6bc86780a6 /src/Propellor/Property/Apache.hs
parent28a966e4b519c105140927af0830ff303693a1fc (diff)
use Daemon.restarted consistently, and implement using Service.restarted
Diffstat (limited to 'src/Propellor/Property/Apache.hs')
-rw-r--r--src/Propellor/Property/Apache.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Property/Apache.hs b/src/Propellor/Property/Apache.hs
index e6930893..175e1966 100644
--- a/src/Propellor/Property/Apache.hs
+++ b/src/Propellor/Property/Apache.hs
@@ -54,7 +54,7 @@ installed :: Property
installed = Apt.installed ["apache2"]
restarted :: Property
-restarted = cmdProperty "service" ["apache2", "restart"]
+restarted = Service.restarted "apache2"
reloaded :: Property
reloaded = Service.reloaded "apache2"