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:
parent
2658782d88
commit
4c3db1ed7d
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ ynh_add_uwsgi_service 'pgadmin_user python_version'
|
||||||
# Reload services
|
# Reload services
|
||||||
ynh_script_progression --message="Reloading services..."
|
ynh_script_progression --message="Reloading services..."
|
||||||
sudo systemctl reload nginx.service
|
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"
|
--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
|
ynh_script_progression --message="Change of URL completed for $app" --time --last
|
||||||
|
|
Loading…
Reference in a new issue