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

Restart service at end of change-url script

This commit is contained in:
Josué Tille 2019-06-09 21:25:58 +02:00
parent 2658782d88
commit 4c3db1ed7d
No known key found for this signature in database
GPG key ID: D5E068C6DFA8681D

View file

@ -44,7 +44,7 @@ ynh_add_uwsgi_service 'pgadmin_user python_version'
# Reload services
ynh_script_progression --message="Reloading services..."
sudo systemctl reload nginx.service
ynh_systemd_action --service_name "uwsgi-app@$app.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"
ynh_script_progression --message="Change of URL completed for $app" --time --last