aboutsummaryrefslogtreecommitdiff
path: root/serve.sh
diff options
context:
space:
mode:
authorsudan <sudan@douban.com>2016-01-20 19:11:15 +0800
committersudan <sudan@douban.com>2016-01-20 19:11:15 +0800
commit084442616ffcceb309c71a62b123f7a11606576a (patch)
tree3ee7c3b2b7b9a454b8f1b3e8309c3edf25611541 /serve.sh
parentsome change (diff)
parentmisc updates (diff)
downloadstackbin-084442616ffcceb309c71a62b123f7a11606576a.tar.gz
stackbin-084442616ffcceb309c71a62b123f7a11606576a.tar.bz2
stackbin-084442616ffcceb309c71a62b123f7a11606576a.zip
merge from jiawei
Diffstat (limited to 'serve.sh')
-rwxr-xr-xserve.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/serve.sh b/serve.sh
new file mode 100755
index 0000000..fbc0f55
--- /dev/null
+++ b/serve.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+gunicorn -D -w8 --bind unix:/tmp/flask-pastebin.sock pastebin:app -p var/app.pid --access-logfile var/out.log --error-logfile var/error.log
bgstack15