mirror of
https://github.com/nocodb/nocodb.git
synced 2026-04-30 20:36:45 +00:00
fix(nix/docker/aio): from testing phase
This commit is contained in:
@@ -35,8 +35,9 @@ s6-rc-init -c /run/s6-service-compiled /run/service
|
||||
### Numeric arguments from 1 to 5 on the kernel command line will
|
||||
### override the default.
|
||||
|
||||
exec /run/s6-init/scripts/runlevel "$rl"
|
||||
|
||||
# exec /run/s6-init/scripts/runlevel "$rl"
|
||||
# no runlevel because -of s6-linux-init -C flag
|
||||
exec s6-rc -v2 -up change default
|
||||
|
||||
### If this script is run in a container, then 1. and 2. above do not
|
||||
### apply and you should just call your CMD, if any, or let your
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
### requests a machine state change via telinit.
|
||||
### Ideally, it should just be a call to the service manager.
|
||||
|
||||
test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ; }
|
||||
# test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ; }
|
||||
|
||||
|
||||
### If your services are managed by sysv-rc:
|
||||
@@ -15,4 +15,4 @@ test "$#" -gt 0 || { echo 'runlevel: fatal: too few arguments' 1>&2 ; exit 100 ;
|
||||
# exec /sbin/openrc "$1"
|
||||
|
||||
### If your services are managed by s6-rc:
|
||||
exec s6-rc -v2 -up change "$1"
|
||||
# exec s6-rc -v2 -up change "$1"
|
||||
|
||||
Reference in New Issue
Block a user