diff --git a/manifest.json b/manifest.json index e033036..33d1838 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "email": "felix@piedallu.me" }, "requirements": { - "yunohost": ">= 3.7.0" + "yunohost": ">= 4.1.0" }, "multi_instance": true, "services": [ diff --git a/scripts/install b/scripts/install index 8ed81b4..29f9805 100644 --- a/scripts/install +++ b/scripts/install @@ -179,7 +179,7 @@ ynh_replace_string --target_file="$final_path/LocalSettings.php" --match_string= "php$phpversion" "$final_path/maintenance/update.php" -chown -R $app:$app "$final_path" +chown -R $app:www-data "$final_path" #================================================= # SETUP SSOWAT diff --git a/scripts/upgrade b/scripts/upgrade index e0ccd2e..b58b32a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -118,7 +118,7 @@ fi chmod 750 "$final_path" chmod -R o-rwx "$final_path" -chown -R $app:$app "$final_path" +chown -R $app:www-data "$final_path" #================================================= # NGINX CONFIGURATION @@ -204,7 +204,7 @@ fi "php$phpversion" "$final_path/maintenance/update.php" # Set permissions on app files -chown -R $app:$app "$final_path" +chown -R $app:www-data "$final_path" #================================================= # GENERIC FINALIZATION