mirror of
https://github.com/YunoHost-Apps/fab-manager_ynh.git
synced 2024-09-03 18:36:16 +02:00
Fix ynh_systemd_action
This commit is contained in:
parent
2ee5c2d42b
commit
b326dd27f0
4 changed files with 4 additions and 4 deletions
|
@ -40,7 +40,7 @@ chown "$app:$app" "$install_dir/config/secrets.yml"
|
|||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
# Start a systemd service
|
||||
ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd --line_match="Listening on"
|
||||
ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd
|
||||
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path=systemd --line_match="Schedules Loaded"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -97,7 +97,7 @@ yunohost service add "$app-worker" --description="$app worker service"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting $app's systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd --line_match="Listening on"
|
||||
ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd
|
||||
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path=systemd --line_match="Schedules Loaded"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -78,7 +78,7 @@ yunohost service add "$app-worker" --description="$app worker service"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting $app's systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd --line_match="Listening on"
|
||||
ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd
|
||||
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path=systemd --line_match="Schedules Loaded"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -103,7 +103,7 @@ yunohost service add "$app-worker" --description="$app worker service"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting $app's systemd service..." --weight=1
|
||||
|
||||
ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd --line_match="Listening on"
|
||||
ynh_systemd_action --service_name="${app}-app" --action="start" --log_path=systemd
|
||||
ynh_systemd_action --service_name="${app}-worker" --action="start" --log_path=systemd --line_match="Schedules Loaded"
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue