-
-
Save anonymous/40284b9c84bea2df6fca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[uwsgi] | |
project = bookmark | |
base = /home/vagrant/Code | |
chdir = %(base)/%(project) | |
home = %(base)/Env/%(project) | |
module = %(project).wsgi:application | |
master = true | |
processes = 5 | |
socket = %(base)/%(project)/%(project).sock | |
chmod-socket = 664 | |
vaccum = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@homestead:~$ sudo uwsgi --ini /etc/uwsgi/sites/bookmark.ini | |
[uWSGI] getting INI configuration from /etc/uwsgi/sites/bookmark.ini | |
*** Starting uWSGI 2.0.11 (64bit) on [Sat Jul 18 16:33:23 2015] *** | |
compiled with version: 4.8.4 on 18 July 2015 13:46:23 | |
os: Linux-3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 | |
nodename: homestead | |
machine: x86_64 | |
clock source: unix | |
pcre jit disabled | |
detected number of CPU cores: 1 | |
current working directory: /home/vagrant | |
detected binary path: /usr/local/bin/uwsgi | |
uWSGI running as root, you can use --uid/--gid/--chroot options | |
*** WARNING: you are running uWSGI as root !!! (use the --uid flag) *** | |
chdir() to /home/vagrant/Code/bookmark | |
your processes number limit is 15806 | |
your memory page size is 4096 bytes | |
detected max file descriptor number: 1024 | |
lock engine: pthread robust mutexes | |
thunder lock: disabled (you can enable it with --thunder-lock) | |
bind(): Operation not permitted [core/socket.c line 230] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "uWSGI application server in Emperor mode" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
setuid vagrant | |
setgid www-data | |
exec /usr/local/bin/uwsgi --emperor /etc/uwsgi/sites |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Did you ever figure this out?