propellor

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

commit 00dcabe183e55da44dab9210b8d5cee44c85a72c
parent 7ba502546c8afe8df14e2b3848daf5cf280ff699
Author: rsiddharth <s@ricketyspace.net>
Date:   Sat, 16 Nov 2019 18:25:43 -0500

propellor spin

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

diff --git a/config.hs b/config.hs @@ -159,6 +159,7 @@ virgo = host "virgo.ricketyspace.net" $props & Nginx.siteEnabled "git.ricketyspace.net" ricketyspaceNetGitNginx -- crons & stagitGenCron + & nfswBackupCron -- web & Group.exists (Group "pubs") Nothing -- web - root @@ -884,6 +885,16 @@ 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 root@vela.dingy.space:/var/backups/nfsw" + ++ " /home/s/.backups/nfsw" + + -- common --- tmux conf