Skip to content

Commit

Permalink
add gosu to tigervnc password
Browse files Browse the repository at this point in the history
  • Loading branch information
phdelodder committed Oct 19, 2024
1 parent 2808da1 commit 52fdd86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/root/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ if [ "$DECONZ_VNC_MODE" != 0 ]; then
DECONZ_VNC_PASSWORD=$(cat $DECONZ_VNC_PASSWORD_FILE)
fi

echo "$DECONZ_VNC_PASSWORD" | tigervncpasswd -f >$DECONZ_APPDATA_DIR/vnc/passwd
$GOSU echo "$DECONZ_VNC_PASSWORD" | tigervncpasswd -f >$DECONZ_APPDATA_DIR/vnc/passwd
chmod 600 $DECONZ_APPDATA_DIR/vnc/passwd
chown deconz:deconz $DECONZ_APPDATA_DIR/vnc/passwd
SECURITYTYPES="VncAuth,TLSVnc"
Expand Down

0 comments on commit 52fdd86

Please sign in to comment.