Date: Tue, 15 Aug 2017 12:41:57 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 210170] www/uwsgi: Add Emperor mode support Message-ID: <bug-210170-13-25AM9scgUP@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-210170-13@https.bugs.freebsd.org/bugzilla/> References: <bug-210170-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210170 --- Comment #10 from David Wahlund <david@dafnet.se> --- Created attachment 185444 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185444&action= =3Dedit Proposed new rc-script So, I've tried to change the script. It's my first ever rc script so bear w= ith me. Changes: - new config: 'uwsgi_configfile (path)' to explicitly specify the location= =20 of the config file (default: /usr/local/etc/uwsgi/uwsgi.ini). If file is= =20 not present the flag is not set - new config: 'uwsgi_emperor (bool)' set this to use special set of flags=20 for emperor - new config: 'uwsgi_vassals_dir (path)' explicit location of the dir for=20 vassals files - not using command_args but uwsgi_flags throughout - not spawning emperor as master (spawned two processes, near impossible to= =20 kill) - changed socket owner to uwsgi:uwsgi (add www to group uwsgi instead) Feel free to comment --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210170-13-25AM9scgUP>