mirror of
https://github.com/YunoHost-Apps/pgadmin_ynh.git
synced 2024-09-03 19:56:38 +02:00
Restart uwsgi in each script
This commit is contained in:
parent
a7afb52631
commit
716a898ed6
4 changed files with 7 additions and 4 deletions
|
@ -98,5 +98,5 @@ yunohost app addaccess --users=$admin $app
|
||||||
# Configuration de logrotate
|
# Configuration de logrotate
|
||||||
ynh_use_logrotate /var/log/pgadmin
|
ynh_use_logrotate /var/log/pgadmin
|
||||||
|
|
||||||
# RELOAD NGINX
|
# reload uwsgi
|
||||||
systemctl restart uwsgi
|
systemctl restart uwsgi
|
||||||
|
|
|
@ -49,3 +49,6 @@ ynh_secure_remove /etc/uwsgi/apps-enabled/pgadmin.ini
|
||||||
|
|
||||||
# Delete a system user
|
# Delete a system user
|
||||||
ynh_system_user_delete $app
|
ynh_system_user_delete $app
|
||||||
|
|
||||||
|
# reload uwsgi
|
||||||
|
systemctl restart uwsgi
|
|
@ -53,6 +53,6 @@ yunohost app addaccess --users=$admin $app
|
||||||
# Configuration de logrotate
|
# Configuration de logrotate
|
||||||
ynh_use_logrotate /var/log/pgadmin
|
ynh_use_logrotate /var/log/pgadmin
|
||||||
|
|
||||||
# RELOAD NGINX AND PHP-FPM
|
# reload uwsgi and nginx
|
||||||
systemctl restart uwsgi
|
systemctl restart uwsgi
|
||||||
systemctl reload nginx
|
systemctl reload nginx
|
||||||
|
|
|
@ -48,5 +48,5 @@ set_permission
|
||||||
# Create a dedicated nginx config
|
# Create a dedicated nginx config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
# RELOAD NGINX
|
# reload uwsgi
|
||||||
systemctl reload uwsgi
|
systemctl restart uwsgi
|
||||||
|
|
Loading…
Reference in a new issue