This commit is contained in:
Andre Heber
2024-08-20 23:51:59 +02:00
commit ea3b86e8cd
20 changed files with 120 additions and 0 deletions

View File

@ -0,0 +1 @@
oneshot

View File

@ -0,0 +1,3 @@
if { mkdir -p /var/log/myapp }
if { chown nobody:nogroup /var/log/myapp }
chmod 02755 /var/log/myapp

View File

@ -0,0 +1 @@
myapp

View File

@ -0,0 +1 @@
myapp-pipeline

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec logutil-service /var/log/myapp

View File

@ -0,0 +1 @@
longrun

View File

@ -0,0 +1,9 @@
#!/bin/sh
if test "$1" -eq 256 ; then
e=$((128 + $2))
else
e="$1"
fi
echo "$e" > /run/s6-linux-init-container-results/exitcode

View File

@ -0,0 +1 @@
myapp-log

View File

@ -0,0 +1,3 @@
#!/command/with-contenv sh
exec 2>&1
exec s6-setuidgid daemon /usr/local/bin/myapp

View File

@ -0,0 +1 @@
longrun