node is hostname

This commit is contained in:
Yann Autissier
2022-11-22 22:49:44 +00:00
parent 61ab6f67af
commit 9697288134
24 changed files with 172 additions and 45 deletions
+2 -4
View File
@@ -10,9 +10,7 @@ if [ ! -f /app/.setup_done ]; then
/app/setup_timezone.sh
fi
/app/setup_ecryptfs.sh /dev/shm
# /shared encryption will not survive on restart
/app/setup_ecryptfs.sh /shared
/app/setup_ecryptfs.sh /dev/shm &
/app/setup_users.sh
## Start-up our services manually (since Docker container will not invoke all init scripts).
@@ -50,6 +48,6 @@ if [ $# -eq 0 ]; then
PID=$! && wait
else
# WARNING: cleanup is not called
exec /bin/bash -c "set -e && $*"
exec su ${USER:-root} /bin/bash -c "set -e && $*"
fi
cleanup