propellor

propellor config for hosts.
git clone git://git.ricketyspace.net/propellor.git
Log | Files | Refs | LICENSE

commit ed9762c3e91672c92c30c5146514dfbf3d7eeb8a
parent a26deac3a952e99a902e47367ad2e3d458fa3ae0
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 27 Jan 2018 02:40:57 +0000

propellor spin

Diffstat:
config.hs | 7+++++++
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/config.hs b/config.hs @@ -123,6 +123,7 @@ cygnus = host "cygnus.ricketyspace.net" $ props & morningNoise & eighthirtyNoise & twentyNoise + & twentyTwoNoise & getCruxEtc & autoCommitCygnusRepos & removeEmptyHomeDirs @@ -244,6 +245,12 @@ twentyNoise = Cron.job "twenty-noise" (Cron.Times "00 20 * * *") where noiseCmd = "mpc play" +twentyTwoNoise :: Property DebianLike +twentyTwoNoise = Cron.job "twenty-two-noise" (Cron.Times "00 22 * * *") + (User "s") "/home/s" noiseCmd + where + noiseCmd = "mpc play" + getCruxEtc :: Property DebianLike getCruxEtc = Cron.job "get-crux-etc" (Cron.Times "20 22 * * *") (User "s") "/home/s/v/cygnus.ricketyspace.net/crux-etc" gitCmd