mirror of
https://github.com/YunoHost-Apps/fittrackee_ynh.git
synced 2024-09-03 18:36:16 +02:00
fix service
This commit is contained in:
parent
890185114b
commit
903d1ccb12
1 changed files with 3 additions and 3 deletions
|
@ -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"
|
||||
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue