1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/syncthing_ynh.git synced 2024-09-03 20:26:23 +02:00

Please add --quiet to systemctl enable/disable commands to avoid unecessary warnings when the script runs

This commit is contained in:
yalh76 2020-12-22 20:36:44 +01:00
parent f8bfd49d14
commit 74fc9ed43e
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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"