mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-01 09:27:10 +00:00
chore(nix/package/docker/aio/env-processor): allow service selection at runtime
This commit is contained in:
@@ -0,0 +1 @@
|
||||
postgresql-srv
|
||||
@@ -0,0 +1 @@
|
||||
3
|
||||
@@ -0,0 +1 @@
|
||||
postgresql
|
||||
@@ -0,0 +1,14 @@
|
||||
#!/bin/execlineb -P
|
||||
|
||||
envfile /etc/s6-confs/postgresql.conf
|
||||
|
||||
importas -sCuD "n3 s2000000 T" DIRECTIVES DIRECTIVES
|
||||
|
||||
ifelse { test -w /var/log } {
|
||||
foreground { install -d -o s6log -g s6log /var/log/postgresql }
|
||||
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /var/log/postgresql
|
||||
}
|
||||
|
||||
foreground { install -d -o s6log -g s6log /run/log/postgresql }
|
||||
|
||||
s6-setuidgid s6log exec -c s6-log -d3 -b -- ${DIRECTIVES} /run/log/postgresql
|
||||
@@ -0,0 +1 @@
|
||||
longrun
|
||||
Reference in New Issue
Block a user