mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-23 15:32:24 +00:00
eee400f39f
busybox's init uses /etc/inittab for configuration just like sysvinit, however it doesn't use any runlevels. the tty part of inittab is appended to "/dev/", and it becomes connected to the stdout of the spawned process Signed-off-by: Petros Angelatos <petrosagg@gmail.com>
8 lines
217 B
Plaintext
8 lines
217 B
Plaintext
# busybox inittab
|
|
# format: tty:ignored:action:command
|
|
|
|
stdout::sysinit:/usr/src/app/entry.sh
|
|
|
|
stdout::respawn:/usr/src/app/run.sh node /usr/src/app/src/app.js
|
|
stdout::respawn:/usr/src/app/run.sh /usr/src/app/gosuper
|