-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsample.config.ini
More file actions
40 lines (28 loc) · 768 Bytes
/
sample.config.ini
File metadata and controls
40 lines (28 loc) · 768 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
[DEFAULT]
WorkingDirectory = /opt/src/mysite.com
Host = 0.0.0.0
GlobalPath = /usr/local/bin
DeployKeyLocation = /home/me/.ssh/deploy-key
[staging]
commands = [
"/usr/bin/npm install",
"/home/me/.rvm/bin/rvm 2.0.0 do jekyll build --destination /opt/websites/mysite.com/www",
"/usr/bin/git checkout master"
]
[uwsgi]
#application's base folder
base = /opt/src/dothething
#python module to import
app = main
module = wsgi
master = true
catch-exceptions = true
processes = 5
socket = dothething.sock
chmod-socket = 660
vacuum = true
die-on-term = true
#the variable that holds a flask application inside the module imported at line #6
callable = app
#location of log files - make sure you create this and chown it
logto = /var/log/uwsgi/dothething.log