propellor

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

commit 0f0e7f324cb75c30de5eb2ec0a30ecce73f0891e
parent ebfb5a81a4f59d66b7ea51c86eceaaa30e93d0fc
Author: rsiddharth <s@ricketyspace.net>
Date:   Fri,  8 Dec 2017 01:15:57 +0000

config.hs: Add Cron.job `buildEmacs`.

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

diff --git a/config.hs b/config.hs @@ -120,6 +120,7 @@ cygnus = host "cygnus.ricketyspace.net" $ props & getCruxEtc & autoCommitCygnusRepos & removeEmptyHomeDirs + & buildEmacs -- root config. & User.hasSomePassword (User "root") & Ssh.authorizedKey (User "root") sCanonicalSshPubKey @@ -264,6 +265,13 @@ removeEmptyHomeDirs = Cron.job "remove-empty-home-dirs" cmd = "rm -rf Documents Public Desktop Downloads" ++ " Music Pictures Templates Videos" +buildEmacs :: Property DebianLike +buildEmacs = Cron.job "build-emacs" + (Cron.Times "00 12 * * 6") + (User "s") "/home/s/.bin/" cmd + where + cmd = "./emacs-build start-make" + ---- etc cygnusHosts :: [File.Line] cygnusHosts = [