diff --git a/scripts/install b/scripts/install index fe23302..d28d732 100755 --- a/scripts/install +++ b/scripts/install @@ -122,6 +122,7 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=1 # Create a dedicated systemd config ynh_add_systemd_config +systemctl disable $app.service --quiet #================================================= # CONFIGURE SYSTEMD TIMER diff --git a/scripts/restore b/scripts/restore index 60c7658..2f93f48 100755 --- a/scripts/restore +++ b/scripts/restore @@ -65,11 +65,6 @@ chown $app:$app "/usr/local/bin/backup-with-$app" systemctl enable $app.timer --quiet systemctl start $app.timer -#================================================= -# RESTORE SYSTEMD -#================================================= -systemctl enable $app.service --quiet - #================================================= # INTEGRATE SERVICE IN YUNOHOST #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 46d161a..d2fbeb0 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -124,6 +124,7 @@ ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 # Create a dedicated systemd config ynh_add_systemd_config +systemctl disable $app.service --quiet #================================================= # CONFIGURE SYSTEMD TIMER