diff --git a/scripts/restore b/scripts/restore index 961e5f1..8dee014 100644 --- a/scripts/restore +++ b/scripts/restore @@ -60,10 +60,12 @@ ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet ynh_restore_file --origin_path="/etc/logrotate.d/$app" + chown $app:$app "/var/log/$app" yunohost service add $app --description="Federated shared agenda for local communities" --log="/var/log/$app/$app.log" + #================================================= # GENERIC FINALIZATION #=================================================