diff --git a/manifest.toml b/manifest.toml index 405d765..206d063 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ name = "Dont-code Services" description.en = "Install services and databases needed to support Dont-code platform" description.fr = "Installe les services et base de données nécessaires pour utiliser la plateforme Dont-code" -version = "0.3.2~ynh6" +version = "0.3.2~ynh7" maintainers = ["Dont-code Team"] diff --git a/scripts/restore b/scripts/restore index 5843df2..2da03fc 100755 --- a/scripts/restore +++ b/scripts/restore @@ -73,6 +73,7 @@ ynh_script_progression --message="Restoring system configurations related to $ap ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" ynh_restore_file --origin_path="/etc/logrotate.d/$app" +mkdir --parents /var/log/$app for service_name in "${SERVICES_LIST[@]}"; do ynh_restore_file --origin_path="/etc/systemd/system/${app}-${service_name}.service"