propellor spin

This commit is contained in:
Joey Hess 2014-04-08 18:46:23 -04:00
parent 0e47d3ed2e
commit b722083211
Failed to extract signature
1 changed files with 3 additions and 1 deletions

View File

@ -149,7 +149,9 @@ autoRemove = runApt ["-y", "autoremove"]
unattendedUpgrades :: RevertableProperty
unattendedUpgrades = RevertableProperty enable disable
where
enable = setup True `before` installed ["cron"]
enable = setup True
`before` installed ["cron"]
`before` serviceRunning "cron"
disable = setup False
setup enabled = (if enabled then installed else removed) ["unattended-upgrades"]