diff --git a/scripts/restore b/scripts/restore index 1341cc7..1566077 100755 --- a/scripts/restore +++ b/scripts/restore @@ -29,7 +29,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/systemd/system/$app.service" -ynh_systemd_action --action=enable +systemctl enable $app.service --quiet yunohost service add $app --description="Open Source Push Notification Server" --log="/var/log/$app/$app.log"