propellor spin
This commit is contained in:
parent
839ba9dc63
commit
26254bf8c7
|
@ -300,3 +300,15 @@ twitRss = combineProperties "twitter rss"
|
|||
crontime = "15 * * * *"
|
||||
feed url desc = Cron.job desc crontime "joey" dir $
|
||||
"./twitRss " ++ shellEscape url ++ " > " ++ shellEscape ("../" ++ desc ++ ".rss")
|
||||
|
||||
ircBouncer :: Property
|
||||
ircBouncer = propertyList "IRC bouncer"
|
||||
[ Apt.installed ["znc"]
|
||||
, User.accountFor "znc"
|
||||
, File.hasPrivContent conf
|
||||
, File.ownerGroup conf "znc" "znc"
|
||||
, Cron.job "znconboot" "@reboot" "znc" "~" "znc"
|
||||
, Cron.job "zncrunning" "@hourly" "znc" "~" "znc || true"
|
||||
]
|
||||
where
|
||||
conf = "/home/znc/.znc/configs/znc.conf"
|
||||
|
|
|
@ -74,8 +74,7 @@ hosts = -- (o) `
|
|||
& myDnsSecondary
|
||||
|
||||
& alias "znc.kitenet.net"
|
||||
& Apt.installed ["znc"]
|
||||
& User.accountFor "znc"
|
||||
& JoeySites.ircBouncer
|
||||
|
||||
-- Nothing is using https on clam, so listen on that port
|
||||
-- for ssh, for traveling on bad networks.
|
||||
|
|
Loading…
Reference in New Issue