mirror of
https://github.com/YunoHost-Apps/bookwyrm_ynh.git
synced 2024-09-03 18:16:12 +02:00
fix linter warning by changing --line-match
This commit is contained in:
parent
82bd01a73d
commit
ae5f532f55
3 changed files with 3 additions and 3 deletions
|
@ -105,7 +105,7 @@ yunohost service add "$app-worker" --log="/var/log/$app/$app-worker.log"
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started"
|
ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started bookwyrm celery beat process"
|
||||||
ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid"
|
ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid"
|
||||||
ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready"
|
ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready"
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ yunohost service add "$app-worker" --log="/var/log/$app/$app-worker.log"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started"
|
ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started bookwyrm celery beat process"
|
||||||
ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid"
|
ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid"
|
||||||
ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready"
|
ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready"
|
||||||
|
|
||||||
|
|
|
@ -127,7 +127,7 @@ yunohost service add "$app-worker" --log="/var/log/$app/$app-worker.log"
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started"
|
ynh_systemd_action --service_name="$app-beat" --action="start" --log_path="systemd" --line_match="Started bookwyrm celery beat process"
|
||||||
ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid"
|
ynh_systemd_action --service_name="$app-server" --action="start" --log_path="systemd" --line_match="Booting worker with pid"
|
||||||
ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready"
|
ynh_systemd_action --service_name="$app-worker" --action="start" --log_path="systemd" --line_match="ready"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue