summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/cron/tabs/root24
-rw-r--r--var/www/conf/cgitrc46
2 files changed, 70 insertions, 0 deletions
diff --git a/var/cron/tabs/root b/var/cron/tabs/root
new file mode 100644
index 0000000..4b81220
--- /dev/null
+++ b/var/cron/tabs/root
@@ -0,0 +1,24 @@
+# $OpenBSD: crontab,v 1.28 2020/04/18 17:22:43 jmc Exp $
+#
+# /var/cron/tabs/root - root's crontab
+#
+SHELL=/bin/sh
+PATH=/bin:/sbin:/usr/bin:/usr/sbin
+HOME=/var/log
+#
+#minute hour mday month wday [flags] command
+#
+# rotate log files every hour, if necessary
+0 * * * * /usr/bin/newsyslog
+# send log file notifications, if necessary
+#1-59 * * * * /usr/bin/newsyslog -m
+#
+# do daily/weekly/monthly maintenance
+30 1 * * * /bin/sh /etc/daily
+30 3 * * 6 /bin/sh /etc/weekly
+30 5 1 * * /bin/sh /etc/monthly
+#~ * * * * /usr/libexec/spamd-setup
+
+#~ * * * * -ns rpki-client -v && bgpctl reload
+
+0 0 * * * (acme-client bookcorner.ge || true) && rcctl reload httpd
diff --git a/var/www/conf/cgitrc b/var/www/conf/cgitrc
new file mode 100644
index 0000000..4284454
--- /dev/null
+++ b/var/www/conf/cgitrc
@@ -0,0 +1,46 @@
+#favicon=/favicon.ico
+#logo=/cgit.jpg
+#root-title=git.bookcorner.ge
+#root-desc=XXXXX
+
+mimetype-file=/usr/share/misc/mime.types
+snapshots=all
+
+enable-blame=1
+enable-commit-graph=0
+enable-http-clone=1
+enable-index-links=0
+enable-index-owner=0
+enable-log-filecount=1
+enable-log-linecount=1
+enable-remote-branches=0
+enable-tree-linenumbers=1
+local-time=0
+noplainemail=0
+side-by-side-diffs=0
+
+branch-sort=name
+case-sensitive-sort=0
+commit-sort=
+repository-sort=name
+section-sort=1
+
+#cache-root=XXXXX
+cache-size=10000
+cache-static-ttl=-1
+# Minimal caches just to avoid DoS
+cache-about-ttl=1
+cache-dynamic-ttl=1
+cache-repo-ttl=1
+cache-root-ttl=1
+cache-scanrc-ttl=1
+cache-snapshot-ttl=1
+
+#enable-git-config=1
+enable-filter-overrides=0
+remove-suffix=1
+scan-hidden-path=0
+section-from-path=-1
+
+#project-list=/git/projects.list
+scan-path=/git/repositories