aboutsummaryrefslogtreecommitdiff
path: root/roles/git/files/gitolite-cgit/etc/rsyslog.conf
diff options
context:
space:
mode:
authorJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-13 00:39:32 +0100
committerJohannes Stoelp <johannes.stoelp@gmail.com>2024-02-13 00:39:32 +0100
commiteff60765ee91a900f665b84ae882a6e9158c1192 (patch)
treecb2aca23ea7e4975e8e533478219e8bf324894c7 /roles/git/files/gitolite-cgit/etc/rsyslog.conf
parent10386c5e85154f94974b59e0f1c23f4302bde90e (diff)
downloadansible-memzero-eff60765ee91a900f665b84ae882a6e9158c1192.tar.gz
ansible-memzero-eff60765ee91a900f665b84ae882a6e9158c1192.zip
git: add rsyslog
Diffstat (limited to 'roles/git/files/gitolite-cgit/etc/rsyslog.conf')
-rw-r--r--roles/git/files/gitolite-cgit/etc/rsyslog.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/roles/git/files/gitolite-cgit/etc/rsyslog.conf b/roles/git/files/gitolite-cgit/etc/rsyslog.conf
new file mode 100644
index 0000000..fa25c6a
--- /dev/null
+++ b/roles/git/files/gitolite-cgit/etc/rsyslog.conf
@@ -0,0 +1,19 @@
+$AbortOnUncleanConfig on
+$WorkDirectory /var/lib/rsyslog
+
+$FileOwner root
+$FileCreateMode 0640
+$DirCreateMode 0755
+$Umask 0022
+
+## Modules
+
+# Support local system logging.
+module(load="imuxsock")
+
+## Logging Rules
+
+# Write all messages with 'info' severity except 'auth.info' to messages file.
+# The '-' disables buffer flush.
+#*.info;auth.none -/var/log/messages
+auth.* /dev/stdout