1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pgadmin_ynh.git synced 2024-09-03 19:56:38 +02:00

fix line_match with --extended-regexp

This commit is contained in:
Kay0u 2020-05-22 14:21:54 +02:00 committed by Josue-T
parent 9e9660cddd
commit 2925473d6b
4 changed files with 4 additions and 4 deletions

View file

@ -45,6 +45,6 @@ ynh_add_uwsgi_service 'pgadmin_user python_version'
ynh_script_progression --message="Reloading services..."
sudo systemctl reload nginx.service
ynh_systemd_action --service_name "uwsgi-app@$app.service" --action restart \
--line_match "WSGI app 0 (mountpoint='$path_url') ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log"
--line_match "WSGI app 0 \(mountpoint='$path_url'\) ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log"
ynh_script_progression --message="Change of URL completed for $app" --last

View file

@ -117,6 +117,6 @@ ynh_use_logrotate --logfile /var/log/pgadmin
# reload uwsgi
ynh_script_progression --message="Starting pgadmin services..." --weight=3
ynh_systemd_action --service_name "uwsgi-app@$app.service" \
--line_match "WSGI app 0 (mountpoint='$path_url') ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log"
--line_match "WSGI app 0 \(mountpoint='$path_url'\) ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log"
ynh_script_progression --message="Installation of $app completed" --last

View file

@ -70,7 +70,7 @@ ynh_use_logrotate --logfile /var/log/pgadmin
# reload uwsgi and nginx
ynh_script_progression --message="Starting pgadmin services..." --weight=3
ynh_systemd_action --service_name "uwsgi-app@$app.service" \
--line_match "WSGI app 0 (mountpoint='$path_url') ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log"
--line_match "WSGI app 0 \(mountpoint='$path_url'\) ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log"
systemctl reload nginx
ynh_script_progression --message="Restoration completed for $app" --last

View file

@ -70,6 +70,6 @@ ynh_use_logrotate --logfile /var/log/pgadmin --nonappend
# reload uwsgi
ynh_script_progression --message="Restarting pgadmin services..." --weight=3
ynh_systemd_action --service_name "uwsgi-app@$app.service" \
--line_match "WSGI app 0 (mountpoint='$path_url') ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log"
--line_match "WSGI app 0 \(mountpoint='$path_url'\) ready in [[:digit:]]* seconds on interpreter" --log_path "/var/log/uwsgi/$app/pgadmin.log"
ynh_script_progression --message="Upgrade of $app completed" --last