propellor spin

This commit is contained in:
Joey Hess 2014-07-05 15:55:21 -04:00
parent fb3abc61e7
commit aca6e6dc29
Failed to extract signature
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,7 @@ import qualified Propellor.Property.Obnam as Obnam
import qualified Propellor.Property.Apache as Apache import qualified Propellor.Property.Apache as Apache
import Utility.SafeCommand import Utility.SafeCommand
import Utility.FileMode import Utility.FileMode
import Utility.Path
import Data.List import Data.List
import System.Posix.Files import System.Posix.Files
@ -310,6 +311,7 @@ ircBouncer :: Property
ircBouncer = propertyList "IRC bouncer" ircBouncer = propertyList "IRC bouncer"
[ Apt.installed ["znc"] [ Apt.installed ["znc"]
, User.accountFor "znc" , User.accountFor "znc"
, File.dirExists (parentDir conf)
, File.hasPrivContent conf , File.hasPrivContent conf
, File.ownerGroup conf "znc" "znc" , File.ownerGroup conf "znc" "znc"
, Cron.job "znconboot" "@reboot" "znc" "~" "znc" , Cron.job "znconboot" "@reboot" "znc" "~" "znc"