chore(nix/package/docker/aio/env-processor): allow service selection at runtime

This commit is contained in:
sinanmohd
2025-02-19 17:23:27 +05:30
parent add08be977
commit 93a8d8fb44
36 changed files with 35 additions and 22 deletions

View File

@@ -0,0 +1 @@
postgresql-srv

View File

@@ -0,0 +1 @@
postgresql

View File

@@ -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

View File

@@ -0,0 +1 @@
longrun