Set HOME path for npm log output

This commit is contained in:
TheSpad 2023-03-20 13:22:33 +00:00
parent 6d01835649
commit b312f617e8
No known key found for this signature in database
GPG Key ID: 08F06191F4587860

View File

@ -9,6 +9,6 @@ if [[ ${WS_FALLBACK,,} = "true" ]]; then
OPT_WS_FALLBACK="--include-ws-fallback"
fi
exec \
HOME=/config exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 3000" \
cd /app/pairdrop s6-setuidgid abc npm start -- "${OPT_RATE_LIMIT}" "${OPT_WS_FALLBACK}"