diff --git a/scripts/install b/scripts/install index 120e2a3..bb40839 100755 --- a/scripts/install +++ b/scripts/install @@ -96,8 +96,8 @@ ynh_add_nginx_config ynh_script_progression --message="Configuring a systemd service..." --weight=1 # Create a dedicated systemd config -ynh_add_systemd_config --service="${app}" --template="${app}.service" -ynh_add_systemd_config --service="${app}_workers" --template="${app}_workers.service" +ynh_add_systemd_config --service="${app}" --template="fittrackee.service" +ynh_add_systemd_config --service="${app}_workers" --template="fittrackee_workers.service" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index d085894..9f8ea9c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -84,11 +84,9 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading systemd configuration..." --weight=1 -ynh_add_config --template="../conf/${app}.target" --destination="/etc/systemd/system/$app.target" - # Create a dedicated systemd config -ynh_add_systemd_config --service="${app}" --template="${app}.service" -ynh_add_systemd_config --service="${app}_workers" --template="${app}_workers.service" +ynh_add_systemd_config --service="${app}" --template="fittrackee.service" +ynh_add_systemd_config --service="${app}_workers" --template="fittrackee_workers.service" #=================================================