diff --git a/rootfs/startup.sh b/rootfs/startup.sh index c0c4ba5..468a3e6 100755 --- a/rootfs/startup.sh +++ b/rootfs/startup.sh @@ -1,7 +1,5 @@ #!/bin/bash -sleep 6000 - if [ -n "$VNC_PASSWORD" ]; then echo -n "$VNC_PASSWORD" > /.password1 x11vnc -storepasswd $(cat /.password1) /.password2 @@ -137,4 +135,6 @@ grep "127.0.0.1 archive.linux.duke.edu" /etc/hosts || echo "127.0.0.1 archive.li chown -R $USER:$USER /home/$USER/ +sleep 6000 + exec /bin/tini -- supervisord -n -c /etc/supervisor/supervisord.conf