summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2015-04-02 10:26:51 -0400
committerJoey Hess <joeyh@joeyh.name>2015-04-02 10:26:51 -0400
commit006b1c35854c134cbdf33303836c2461322ed463 (patch)
tree223b7281c3b0f5b3c86c141591accf4f610467f5 /src/Propellor/Property
parent3cbabe3f765b7e11db32992a5c9a349fc19d0858 (diff)
parent1413e9c61970532b846893ca6435f2a2785a1b02 (diff)
Merge branch 'joeyconfig'
Diffstat (limited to 'src/Propellor/Property')
-rw-r--r--src/Propellor/Property/Cron.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Propellor/Property/Cron.hs b/src/Propellor/Property/Cron.hs
index 2a28a157..222f3849 100644
--- a/src/Propellor/Property/Cron.hs
+++ b/src/Propellor/Property/Cron.hs
@@ -3,6 +3,7 @@ module Propellor.Property.Cron where
import Propellor
import qualified Propellor.Property.File as File
import qualified Propellor.Property.Apt as Apt
+import Propellor.Bootstrap
import Utility.SafeCommand
import Utility.FileMode
@@ -81,4 +82,5 @@ niceJob desc times user cddir command = job desc times user cddir
-- | Installs a cron job to run propellor.
runPropellor :: Times -> Property NoInfo
-runPropellor times = niceJob "propellor" times "root" localdir "./propellor"
+runPropellor times = niceJob "propellor" times "root" localdir
+ (bootstrapPropellorCommand ++ "; ./propellor")