Changes
Jump to navigation
Jump to search
← Older edit
Gunicorn
(edit)
Revision as of 08:26, 17 December 2018
67 bytes removed
,
08:26, 17 December 2018
no edit summary
Line 1:
Line 1:
= Gunicorn service file =
= Gunicorn service file =
<nowiki>[Unit]
<nowiki>[Unit]
−
Description=
Fotingo
Gunicorn Service
+
Description=Gunicorn Service
After=network.target
After=network.target
[Service]
[Service]
−
User=
rra
+
User=
ubuntu
−
Group=
rra
+
Group=
ubuntu
−
WorkingDirectory=/home/
rra
/
Fotingo
+
WorkingDirectory=/home/
ubuntu
/
project
StandardOutput=syslog
StandardOutput=syslog
StandardError=syslog
StandardError=syslog
−
SyslogIdentifier=
fotingo
+
SyslogIdentifier=
gunicorn
Restart=always
Restart=always
RestartSec=3
RestartSec=3
−
Environment=DJANGO_SETTINGS_MODULE=
Fotingo
.settings.prod
+
Environment=DJANGO_SETTINGS_MODULE=
project
.settings.prod
−
ExecStart=/home/rra/.virtualenvs/
fotingo
/bin/gunicorn -w3 --timeout 300 --access-logfile /
home
/
rra
/
Fotingo/logs
/
gunicorn-
access.log --error-logfile /
home
/
rra
/
Fotingo
/
logs/gunicorn-
error.log --bind unix:/home/
rra
/
Fotingo
/
fotingo
.sock
Fotingo
.wsgi
+
ExecStart=/home/rra/.virtualenvs/
project
/bin/gunicorn -w3 --timeout 300 --access-logfile /
var
/
log
/
gunicorn
/access.log --error-logfile /
var
/
log
/
gunicorn
/error.log --bind unix:/home/
ubuntu
/
porject
/
project
.sock
project
.wsgi
[Install]
[Install]
Line 20:
Line 20:
== SSL ==
== SSL ==
−
ExecStart=
/home/kaio/.virtualenvs/oauth2/bin/
gunicorn -w 5 --certfile=/
home
/
kaio
/
ssl
/kaio.dyndns.org.crt --keyfile=/
home
/
kaio
/
ssl
/
kaio
.
dyndns
.
org
.key --access-logfile=/
home
/
kaio
/
logs
/
oauth2-
access.log --error-logfile=/
home
/
kaio
/
logs
/
oauth2-
error.log --bind=0.0.0.0:50538
rt_oauth
.wsgi
+
ExecStart=gunicorn -w 5 --certfile=/
etc
/
ssl
/
certs
/kaio.dyndns.org.crt --keyfile=/
etc
/
ssl
/
private
/
www
.
example
.
com
.key --access-logfile=/
var
/
log
/
gunicorn
/access.log --error-logfile=/
var
/
log
/
gunicorn
/error.log --bind=0.0.0.0:50538
project
.wsgi
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version