propellor

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

commit 71d2cf74057cabb72216aa157fe504d99516d986
parent 6ef6efb59473b4beb043f73373f958ba7d070cec
Author: rsiddharth <s@ricketyspace.net>
Date:   Sun, 17 Nov 2019 09:13:24 -0500

propellor spin

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

diff --git a/config.hs b/config.hs @@ -311,6 +311,7 @@ lyra = host "lyra.ricketyspace.net" $props ] -- crons & stagitGenCron + & nfswBackupCron -- web & Group.exists (Group "pubs") Nothing -- web - root @@ -884,6 +885,17 @@ stagitGenCron = Cron.job "stagit-gen" where cmd = "make" + +nfswBackupCron :: Property DebianLike +nfswBackupCron = Cron.job "nfsw-backup" + (Cron.Times "*/30 * * * *") + (User "s") "/home/s" cmd + where + cmd = "mkdir -p /home/s/.backups/nfsw" + ++ " && rsync -a vela:/var/backups/nfsw" + ++ " /home/s/.backups/nfsw" + + -- common --- tmux conf