Explorar o código

Update install

log folder init
DeMiro5001 hai 4 meses
pai
achega
359d98dce8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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