mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
restore recreate log dir
This commit is contained in:
parent
799219cce4
commit
fdeb72d16b
2 changed files with 2 additions and 1 deletions
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue