1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/openproject_ynh.git synced 2024-09-03 19:56:10 +02:00
This commit is contained in:
Éric Gaspar 2023-05-26 11:26:10 +02:00
parent b589c5c519
commit 2183dc4ff6
4 changed files with 4 additions and 4 deletions

View file

@ -22,7 +22,7 @@ multi_instance = false
ldap = false
sso = false
disk = "50M"
ram.build = "50M"
ram.build = "800M"
ram.runtime = "50M"
[install]

View file

@ -27,7 +27,7 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
# BACKUP VARIOUS FILES
#=================================================
ynh_backup --src_path="/etc/$app/"
ynh_backup --src_path="/etc/openproject/"
#=================================================
# BACKUP THE POSTGRESQL DATABASE

View file

@ -48,7 +48,7 @@ ynh_script_progression --message="Removing various files..."
ynh_secure_remove --file="$_homedir"
# Remove a directory securely
ynh_secure_remove --file="/etc/$app"
ynh_secure_remove --file="/etc/openproject"
#=================================================
# END OF SCRIPT

View file

@ -31,7 +31,7 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database=$db_name
#=================================================
ynh_script_progression --message="Restoring various files..."
ynh_restore_file --origin_path="/etc/$app/"
ynh_restore_file --origin_path="/etc/openproject/"
chmod 750 "/etc/openproject/"
chmod -R o-rwx "/etc/openproject/"