Parcourir la source

fix fields cache

lushuncheng il y a 6 ans
Parent
commit
0097a3eb30
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5 0
      shell/container-up.sh

+ 5 - 0
shell/container-up.sh

@@ -42,6 +42,10 @@ cp -Rf /code/web/phphub/storage/* /data/phphub/
 chmod -R 0755 /data/phphub/
 chown -R www-data:www-data /data/phphub
 
+if [[ ! -d "/data/_fields" ]]; then
+    mkdir /data/_fields
+fi
+
 if [[ ! -d "/data/log" ]]; then
     mkdir /data/log
 fi
@@ -57,6 +61,7 @@ fi
 chown -R www-data:www-data /boss
 chmod -R 0755 /data/log
 chown -R www-data:www-data /data/log
+chown -R www-data:www-data /data/_fields
 
 # ulimit
 ulimit -Hn 1048576