diff --git a/scripts/restore b/scripts/restore index 6d438b7..181cda8 100644 --- a/scripts/restore +++ b/scripts/restore @@ -91,7 +91,7 @@ chown -R "$app": "$sync_home" ynh_script_progression --message="Restoring the systemd configuration..." ynh_restore_file --origin_path="/etc/systemd/system/$app.service" -systemctl enable $app.service +systemctl enable $app.service --quiet #================================================= # INTEGRATE SERVICE IN YUNOHOST diff --git a/scripts/upgrade b/scripts/upgrade index 511612e..be04a9b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -71,7 +71,7 @@ if [ -z $gui_port ]; then systemctl stop syncthing@$OLD_SYNCUSER.service yunohost service remove syncthing@$OLD_SYNCUSER.service - systemctl disable syncthing@$OLD_SYNCUSER.service + systemctl disable syncthing@$OLD_SYNCUSER.service --quiet ynh_secure_remove --file="/etc/apt/sources.list.d/syncthing.list"