summaryrefslogtreecommitdiff
path: root/rc.redis/redis/template/log/env
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2025-06-14 22:13:48 +0200
committerEugen Wissner <belka@caraus.de>2025-06-14 22:13:48 +0200
commit21efcfc5ef3466e4bbdb5758e9f21af14337e583 (patch)
tree2834fcf761646e8fbda93f5e246188a5c2aae2a2 /rc.redis/redis/template/log/env
parent22994bb8694b8aa8b1094f1e7f24f499816fa1a4 (diff)
downloads6-21efcfc5ef3466e4bbdb5758e9f21af14337e583.tar.gz
Add templated redis
Diffstat (limited to 'rc.redis/redis/template/log/env')
-rw-r--r--rc.redis/redis/template/log/env/CMD1
-rw-r--r--rc.redis/redis/template/log/env/CMD_OPTS1
-rw-r--r--rc.redis/redis/template/log/env/LOGDIR_GROUP2
-rw-r--r--rc.redis/redis/template/log/env/LOGDIR_OWNER2
-rw-r--r--rc.redis/redis/template/log/env/LOGDIR_PATH2
-rw-r--r--rc.redis/redis/template/log/env/LOGDIR_PERMS2
-rw-r--r--rc.redis/redis/template/log/env/LOG_SCRIPT2
7 files changed, 12 insertions, 0 deletions
diff --git a/rc.redis/redis/template/log/env/CMD b/rc.redis/redis/template/log/env/CMD
new file mode 100644
index 0000000..9d5239c
--- /dev/null
+++ b/rc.redis/redis/template/log/env/CMD
@@ -0,0 +1 @@
+s6-log
diff --git a/rc.redis/redis/template/log/env/CMD_OPTS b/rc.redis/redis/template/log/env/CMD_OPTS
new file mode 100644
index 0000000..00d672e
--- /dev/null
+++ b/rc.redis/redis/template/log/env/CMD_OPTS
@@ -0,0 +1 @@
+-d3
diff --git a/rc.redis/redis/template/log/env/LOGDIR_GROUP b/rc.redis/redis/template/log/env/LOGDIR_GROUP
new file mode 100644
index 0000000..3794bcd
--- /dev/null
+++ b/rc.redis/redis/template/log/env/LOGDIR_GROUP
@@ -0,0 +1,2 @@
+root
+# Logging directory group ownership
diff --git a/rc.redis/redis/template/log/env/LOGDIR_OWNER b/rc.redis/redis/template/log/env/LOGDIR_OWNER
new file mode 100644
index 0000000..9f9fd12
--- /dev/null
+++ b/rc.redis/redis/template/log/env/LOGDIR_OWNER
@@ -0,0 +1,2 @@
+root
+# Logging directory owner
diff --git a/rc.redis/redis/template/log/env/LOGDIR_PATH b/rc.redis/redis/template/log/env/LOGDIR_PATH
new file mode 100644
index 0000000..5bd5897
--- /dev/null
+++ b/rc.redis/redis/template/log/env/LOGDIR_PATH
@@ -0,0 +1,2 @@
+/var/log/redis/${port}
+# Logging directory path
diff --git a/rc.redis/redis/template/log/env/LOGDIR_PERMS b/rc.redis/redis/template/log/env/LOGDIR_PERMS
new file mode 100644
index 0000000..ccece6e
--- /dev/null
+++ b/rc.redis/redis/template/log/env/LOGDIR_PERMS
@@ -0,0 +1,2 @@
+750
+# Logging directory access rights in octal
diff --git a/rc.redis/redis/template/log/env/LOG_SCRIPT b/rc.redis/redis/template/log/env/LOG_SCRIPT
new file mode 100644
index 0000000..948a563
--- /dev/null
+++ b/rc.redis/redis/template/log/env/LOG_SCRIPT
@@ -0,0 +1,2 @@
+n4 s500000 T $LOGDIR_PATH
+# Logging script used by s6-log