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:
parent
f8bfd49d14
commit
74fc9ed43e
2 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ chown -R "$app": "$sync_home"
|
||||||
ynh_script_progression --message="Restoring the systemd configuration..."
|
ynh_script_progression --message="Restoring the systemd configuration..."
|
||||||
|
|
||||||
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
|
||||||
systemctl enable $app.service
|
systemctl enable $app.service --quiet
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
|
|
|
@ -71,7 +71,7 @@ if [ -z $gui_port ]; then
|
||||||
|
|
||||||
systemctl stop syncthing@$OLD_SYNCUSER.service
|
systemctl stop syncthing@$OLD_SYNCUSER.service
|
||||||
yunohost service remove 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"
|
ynh_secure_remove --file="/etc/apt/sources.list.d/syncthing.list"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue