From: Chris Koeritz Date: Sun, 22 May 2022 19:57:13 +0000 (-0400) Subject: a few new crontabs and better gitconfig file X-Git-Tag: 2.140.136^2~69 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=9a7b201a42394581cdc8ba2528f8c417be4ae683;hp=480c3c365f528504de73e8c31beef7c0c9fa5c46;p=feisty_meow.git a few new crontabs and better gitconfig file --- diff --git a/infobase/configuration/cron/add_swap_mount.crontab b/infobase/configuration/cron/add_swap_mount.crontab new file mode 100644 index 00000000..378ad370 --- /dev/null +++ b/infobase/configuration/cron/add_swap_mount.crontab @@ -0,0 +1,9 @@ + +############## + +#[hamstertronic_swap_enable] +# turns on some swap space to allow the machine to temporarily go over memory limits. +@reboot bash $FEISTY_MEOW_APEX/scripts/system/add_swap_mount.sh + +############## + diff --git a/infobase/configuration/cron/exim_key_updater.crontab b/infobase/configuration/cron/exim_key_updater.crontab new file mode 100644 index 00000000..87476cb1 --- /dev/null +++ b/infobase/configuration/cron/exim_key_updater.crontab @@ -0,0 +1,10 @@ + +############## + +#[service_key_updater] +# updates the exim4 certificate and key file once a week, which is faster +# than needed to stay up to date with the automated certificate renewals. +34 19 * * 1 (cd /etc/exim4 ; bash key_copier.sh; cd /etc/courier ; bash key_maker.sh ) &>> /tmp/${CRONUSER}-cron-service_key_updater.txt + +############## + diff --git a/infobase/configuration/cron/save_serene_root_crons.crontab b/infobase/configuration/cron/save_serene_root_crons.crontab new file mode 100644 index 00000000..6f613ee0 --- /dev/null +++ b/infobase/configuration/cron/save_serene_root_crons.crontab @@ -0,0 +1,9 @@ + +############## + +#[serene_root_crontab] +# update the stored crontab for the root user, using a cron job! +14 */8 * * * (crontab -l >/home/www-data/web/root.crontab ; chown www-data:www-data /home/www-data/web/root.crontab) + +############## + diff --git a/infobase/configuration/git/dot.gitconfig b/infobase/configuration/git/dot.gitconfig new file mode 100644 index 00000000..41aefa80 --- /dev/null +++ b/infobase/configuration/git/dot.gitconfig @@ -0,0 +1,16 @@ + + +[user] + email = me@mymail.com + name = Programmatic Coder + +[pack] + windowMemory = 100m + SizeLimit = 100m + threads = 1 + +[alias] + # show a beautiful view of the history of this git repository. + hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short + + diff --git a/infobase/configuration/git/git_config_aliases.txt b/infobase/configuration/git/git_config_aliases.txt deleted file mode 100644 index 92107f3e..00000000 --- a/infobase/configuration/git/git_config_aliases.txt +++ /dev/null @@ -1,9 +0,0 @@ - - -# this command should go into ~/.gitconfig to enable the hist alias: - -[alias] - hist = log --pretty=format:'%h %ad | %s%d [%an]' --graph --date=short - - -### (add more awesome aliases here as we find them)