a few new crontabs and better gitconfig file
authorChris Koeritz <fred@gruntose.com>
Sun, 22 May 2022 19:57:13 +0000 (15:57 -0400)
committerChris Koeritz <fred@gruntose.com>
Sun, 22 May 2022 19:57:13 +0000 (15:57 -0400)
infobase/configuration/cron/add_swap_mount.crontab [new file with mode: 0644]
infobase/configuration/cron/exim_key_updater.crontab [new file with mode: 0644]
infobase/configuration/cron/save_serene_root_crons.crontab [new file with mode: 0644]
infobase/configuration/git/dot.gitconfig [new file with mode: 0644]
infobase/configuration/git/git_config_aliases.txt [deleted file]

diff --git a/infobase/configuration/cron/add_swap_mount.crontab b/infobase/configuration/cron/add_swap_mount.crontab
new file mode 100644 (file)
index 0000000..378ad37
--- /dev/null
@@ -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 (file)
index 0000000..87476cb
--- /dev/null
@@ -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 (file)
index 0000000..6f613ee
--- /dev/null
@@ -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 (file)
index 0000000..41aefa8
--- /dev/null
@@ -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 (file)
index 92107f3..0000000
+++ /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)