Commit graph

29 commits

Author SHA1 Message Date
Lance Edgar d68b57baa8 Allow for custom mail recipients in luigi crontab 2023-01-08 13:04:46 -06:00
Lance Edgar 6fb9389e45 Provide default crontab for luigi, to rotate logs and restart 2023-01-08 12:41:25 -06:00
Lance Edgar 5fcfc91d83 Inject default mail sender/recips for machine-wide rattail.conf
also tweak timezone handling
2023-01-07 17:21:34 -06:00
Lance Edgar a9bbee572a Let caller override config paths for luigi overnight scripts 2022-11-27 12:47:39 -06:00
Lance Edgar ebf94fb7dc Specify logging, retcode config for luigi 2022-11-23 14:47:09 -06:00
Lance Edgar 4c8e956fec Must pass -k flag to rattail overnight command 2022-11-21 15:39:49 -06:00
Lance Edgar 25891902b8 Make each overnight script optional
trying to phase out at least 1, maybe 2 of them...

this also cleans up the 'restart' script to use 'rattail overnight'
per recent changes.  this seems the most useful to have around, in
case of web app failure
2022-11-20 20:03:28 -06:00
Lance Edgar a36ecdb2ad Use new rattail overnight command in cron-overnight.sh script
this is all a bit of WIP at the moment, perhaps..
2022-11-20 15:54:58 -06:00
Lance Edgar a2dca4ea65 Add generic script to check mountpoints, for collectd 2022-08-21 22:57:30 -05:00
Lance Edgar f97401009e Allow custom email key for overnight scripts 2022-03-21 17:54:23 -05:00
Lance Edgar 5a4e2701df Tweak default luigi config; allow specifying version
to accommodate one particular install, but is generally okay i think..
2022-03-18 21:46:41 -05:00
Lance Edgar 097a96fc07 Add --progress-bar arg for pip in backup app's upgrade script
for some reason latest pip has progress bar showing up in cron output
and causing unwanted email
2022-02-07 10:47:43 -06:00
Lance Edgar a2f5542ed8 Fix typo in overnight luigi cron script 2022-01-29 17:28:46 -06:00
Lance Edgar 6bf697da1d Add generic Luigi install logic
at least try to do what we can to reduce boilerplate
2022-01-28 15:29:32 -06:00
Lance Edgar b58c0da7a4 Use python instead of shell script, for datasync checks
seems to give more clarity, and we'll have more options this way
2021-11-11 11:58:09 -06:00
Lance Edgar 70c5d661a3 Add basic standard datasync check scripts 2021-01-02 20:04:36 -06:00
Lance Edgar 7963380715 Remove some deprecated init scripts for rattail 2020-10-09 16:39:17 -05:00
Lance Edgar 32dda9742e Add more flexible retry config for Luigi, for overnight backups 2020-03-22 15:40:51 -05:00
Lance Edgar 9f066ca859 Add scripts for checking supervisor process, systemd service 2019-10-14 20:32:35 -05:00
Lance Edgar 0b5f6234ad Add upgrade, restart-overnight-backups scripts for generic backup app 2019-09-30 15:37:21 -05:00
Lance Edgar 067c02e965 Add logic for installing luigi service as part of backup app 2019-09-27 15:51:10 -05:00
Lance Edgar 68088a6e71 Add generic bootstrap_python() logic 2019-09-13 13:24:18 -05:00
Lance Edgar c0eed0e969 Add rattail.deploy_machine_conf() for basic machine-wide rattail.conf 2019-09-12 14:53:35 -05:00
Lance Edgar faefb60cd6 Tweak backup scripts to ensure sudo -H is effectively in use 2019-09-11 19:28:58 -05:00
Lance Edgar 63b86593f1 Deploy generic rattail-backup script for backup apps 2019-09-11 18:36:43 -05:00
Lance Edgar 9adc5a5b79 Tweak how backups are configured, to be a tad more generic 2019-09-11 17:33:40 -05:00
Lance Edgar 93c2db902e Add basic support for installing CORE Office (aka. Fannie)
plus various other things, to that end
2019-02-09 17:20:46 -06:00
Lance Edgar bd4768839a Port logic for deploying a "backup" app 2019-01-06 14:14:47 -06:00
Lance Edgar e8769c8245 Initial commit; enough to prove concepts at least
was able to bootstrap a complete machine with this, although there's lots
missing yet...
2018-12-03 01:11:38 -06:00