Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

/bookmark.ini Secret

Created July 18, 2015 21:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/40284b9c84bea2df6fca to your computer and use it in GitHub Desktop.
Save anonymous/40284b9c84bea2df6fca to your computer and use it in GitHub Desktop.
[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
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]
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
@eltronix
Copy link

Did you ever figure this out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment