diff --git a/overlay/etc/cont-init.d/10-setup_user.sh b/overlay/etc/cont-init.d/10-setup_user.sh index c672921..7007375 100644 --- a/overlay/etc/cont-init.d/10-setup_user.sh +++ b/overlay/etc/cont-init.d/10-setup_user.sh @@ -31,7 +31,7 @@ echo "Setting umask to ${UMASK}"; umask ${UMASK} -XDG_RUNTIME_DIR=/run/user/${PUID} +export XDG_RUNTIME_DIR=/run/user/${PUID} echo "Create the user XDG_RUNTIME_DIR path '${XDG_RUNTIME_DIR}'" mkdir -p ${XDG_RUNTIME_DIR} chown -R ${PUID}:${PGID} ${XDG_RUNTIME_DIR} diff --git a/overlay/etc/supervisor.d/neko.ini b/overlay/etc/supervisor.d/neko.ini index 7eeb7db..5edb142 100644 --- a/overlay/etc/supervisor.d/neko.ini +++ b/overlay/etc/supervisor.d/neko.ini @@ -5,7 +5,7 @@ autorestart=true priority=30 user=%(ENV_USER)s command=/usr/bin/neko serve --static "/var/www" --display %(ENV_DISPLAY)s --bind :%(ENV_PORT_NOVNC_WEB)s -environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s" +environment=HOME="/home/%(ENV_USER)s",USER="%(ENV_USER)s",DISPLAY="%(ENV_DISPLAY)s",XDG_RUNTIME_DIR="%(ENV_XDG_RUNTIME_DIR)s" stopsignal=INT stopwaitsecs=5 stdout_logfile=/home/%(ENV_USER)s/.cache/log/neko.log