瀏覽代碼

Update install

log folder init
DeMiro5001 4 月之前
父節點
當前提交
359d98dce8
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      scripts/install

+ 2 - 0
scripts/install

@@ -41,6 +41,8 @@ ynh_config_add --template=".env" --destination="$install_dir/.env"
 
 chmod 400 "$install_dir/.env"
 chown "$app:$app" "$install_dir/.env"
+mkdir -p "/var/log/$app"
+chown "$app:$app" "/var/log/$app"
 
 #=================================================
 # SYSTEM CONFIGURATION