mirror of
https://github.com/fluencelabs/node-distro
synced 2025-05-31 08:31:24 +00:00
9 lines
332 B
Plaintext
Executable File
9 lines
332 B
Plaintext
Executable File
#!/usr/bin/execlineb -s0
|
|
# '-s0' defines '$@' to hold all positional parameters
|
|
|
|
# remove old HOME variable from the environment, so the daemon isn't confused by it
|
|
# see https://github.com/fluencelabs/node-distro/issues/14 for more details
|
|
unexport HOME
|
|
# 'setuidgid abc' runs '/fluence' as user 'abc'
|
|
s6-setuidgid abc /fluence $@
|