From 21efcfc5ef3466e4bbdb5758e9f21af14337e583 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Sat, 14 Jun 2025 22:13:48 +0200 Subject: Add templated redis --- rc.redis/redis/template/log/env/CMD | 1 + rc.redis/redis/template/log/env/CMD_OPTS | 1 + rc.redis/redis/template/log/env/LOGDIR_GROUP | 2 ++ rc.redis/redis/template/log/env/LOGDIR_OWNER | 2 ++ rc.redis/redis/template/log/env/LOGDIR_PATH | 2 ++ rc.redis/redis/template/log/env/LOGDIR_PERMS | 2 ++ rc.redis/redis/template/log/env/LOG_SCRIPT | 2 ++ 7 files changed, 12 insertions(+) create mode 100644 rc.redis/redis/template/log/env/CMD create mode 100644 rc.redis/redis/template/log/env/CMD_OPTS create mode 100644 rc.redis/redis/template/log/env/LOGDIR_GROUP create mode 100644 rc.redis/redis/template/log/env/LOGDIR_OWNER create mode 100644 rc.redis/redis/template/log/env/LOGDIR_PATH create mode 100644 rc.redis/redis/template/log/env/LOGDIR_PERMS create mode 100644 rc.redis/redis/template/log/env/LOG_SCRIPT (limited to 'rc.redis/redis/template/log/env') 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 -- cgit v1.2.3