1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/diaspora_ynh.git synced 2024-09-03 18:26:13 +02:00

Attempt to really detect when services have started

This commit is contained in:
Augustin Trancart 2022-05-08 15:12:03 +02:00
parent 660659057d
commit de9c0135f5

View file

@ -22,8 +22,8 @@ systemctl restart ${app}.target
ynh_systemd_action --service_name=${app}_web.service \ ynh_systemd_action --service_name=${app}_web.service \
--action=restart\ --action=restart\
--log_path="$final_path/diaspora/log/production.log" \ --log_path="$final_path/diaspora/log/production.log" \
--line_match="Starting processing" --line_match="successfully configured the federation library"
ynh_systemd_action --service_name=${app}_sidekiq.service \ ynh_systemd_action --service_name=${app}_sidekiq.service \
--action=restart\ --action=restart\
--log_path="$final_path/diaspora/log/unicorn-stderr.log" \ --log_path="systemd" \
--line_match="listening on addr" --line_match="Running in ruby"