mirror of
https://github.com/fluencelabs/node-distro
synced 2024-12-04 23:30:17 +00:00
af31412d6f
* Prepare for multiarch * Fix * Fix * Fix * Move some code to scripts * Cleanup * Run chmod * Typo * Fix * Fixes * Typo * Install npm * Fix * Cleanup * Fix * Fix? * Updates
12 lines
381 B
Plaintext
Executable File
12 lines
381 B
Plaintext
Executable File
#!/usr/bin/execlineb -s0
|
|
# '-s0' defines '$@' to hold all positional parameters
|
|
|
|
# import ENV from container
|
|
with-contenv
|
|
|
|
# remove old HOME variable from the environment, so the daemon isn't confused by it
|
|
# see https://github.com/fluencelabs/nox-distro/issues/14 for more details
|
|
unexport HOME
|
|
# 'setuidgid abc' runs '/usr/bin/nox' as user 'abc'
|
|
s6-setuidgid abc /usr/bin/nox $@
|