From 6b214ed14797c83f91f3e99bb31eb8f488e53f36 Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Sat, 9 Nov 2019 13:53:07 -0500 Subject: etc/rc.d: Update nfsw. Move uwsgi options to a configuration file at etc/uwsgi/nfsw.ini. --- etc/rc.d/nfsw | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'etc/rc.d') diff --git a/etc/rc.d/nfsw b/etc/rc.d/nfsw index 0ddc1e5..cad08cc 100644 --- a/etc/rc.d/nfsw +++ b/etc/rc.d/nfsw @@ -7,7 +7,8 @@ # daemon="/usr/local/virtualenv/.nfsw-prd/bin/uwsgi" -daemon_flags="-H /usr/local/virtualenv/.nfsw-prd -s 127.0.0.1:4201 --manage-script-name --mount /=nfsw.uwsgi:app --workers 4 --daemonize /var/www/logs/uwsgi.log" +daemon_flags="--ini /etc/uwsgi/nfsw.ini" +daemon_user=_nfsw export FLASK_APP=nfsw -- cgit v1.2.3