From cb11cb610bca39b951faa0553bccce08dafab877 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 15 Aug 2021 00:50:53 +0200 Subject: [PATCH] Add comment to explain why service is disabled --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index d28d732..6aefffe 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 +# Disable the service, this is to prevent the service from being triggered at boot time systemctl disable $app.service --quiet #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index d2fbeb0..6a59011 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 +# Disable the service, this is to prevent the service from being triggered at boot time systemctl disable $app.service --quiet #=================================================