##// END OF EJS Templates
Added uwsgi config and systemd unit
neko259 -
r848:f2b9de1d default
parent child Browse files
Show More
@@ -0,0 +1,10 b''
1 [Unit]
2 Description=Neboard imageboard
3 After=network.target
4
5 [Service]
6 ExecStart=/usr/bin/uwsgi_python33 --ini uwsgi.ini
7 WorkingDirectory=<where is your neboard located>
8
9 [Install]
10 WantedBy=multi-user.target
@@ -0,0 +1,11 b''
1 [uwsgi]
2 module = neboard.wsgi:application
3 master = true
4 pidfile = /tmp/neboard.pid
5 socket = 127.0.0.1:8080
6 processes = 5
7 harakiri = 20
8 max-requests = 5000
9 disable-logging = true
10 vacuum = true
11 # socket=/var/run/neboard.sock
General Comments 0
You need to be logged in to leave comments. Login now