diff --git a/scripts/install b/scripts/install index c8d107a..d1630ca 100755 --- a/scripts/install +++ b/scripts/install @@ -87,7 +87,7 @@ 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}_workers" --template="${app}_workers.service" #================================================= @@ -98,7 +98,7 @@ ynh_add_systemd_config --service="${app}_workers" --template="${app}-workers.ser ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 yunohost service add "${app}" -yunohost service add "${app}-workers" +yunohost service add "${app}_workers" #================================================= # START SYSTEMD SERVICE @@ -107,7 +107,7 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 # Start a systemd service ynh_systemd_action --service_name="${app}" --action="start" --log_path="systemd" --line_match="Booting worker with pid" -ynh_systemd_action --service_name="${app}-workers" --action="start" --log_path="systemd" --line_match="ready" +ynh_systemd_action --service_name="${app}_workers" --action="start" --log_path="systemd" --line_match="ready" #=================================================