Skip to content

Commit

Permalink
优化启动脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
talebook committed Jan 18, 2024
1 parent c10920c commit 06ceeff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ done
mkdir -p /root/.npm

# 设置PUID/GUID权限
permission_file=/root/.permission
permission_file=/data/.permission
touch $permission_file
permission=`cat $permission_file`
if [ "x$permission" != "x$PUID:$PGID" ]; then
echo "updating permission to $PUID:$PGID"
chown -R talebook:talebook \
/var/lib/nginx \
/data \
Expand Down

0 comments on commit 06ceeff

Please sign in to comment.