Update uwsgi helper

This commit is contained in:
Josué Tille
2018-09-05 20:43:08 +02:00
parent b88c7adfec
commit e345831487
5 changed files with 41 additions and 31 deletions

View File

@@ -113,12 +113,6 @@ ynh_system_user_create "$app" "$final_path"
#=================================================
# SPECIFIC SETUP
#=================================================
# SETUP UWSGI
#=================================================
ynh_add_uwsgi_service
#=================================================
# create config file syncserver.ini
#=================================================
@@ -176,6 +170,12 @@ virtualenv "$final_path/local"
cp -r ../sources/page $final_path/syncserver/
(cd "$final_path/syncserver" && patch -p1 < $YNH_CWD/../sources/homepage.patch) || echo "Unable to apply patches"
#=================================================
# SETUP UWSGI
#=================================================
ynh_add_uwsgi_service
#=================================================
# GENERIC FINALIZATION
#=================================================
@@ -189,7 +189,7 @@ chmod u=rwX,g=rX,o= -R $final_path
# SETUP LOGROTATE
#=================================================
ynh_use_logrotate
ynh_use_logrotate /var/log/uwsgi/$app
#=================================================
# SETUP SSOWAT