summaryrefslogtreecommitdiff
path: root/package/pixelated-user-agent
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-08-22 14:26:38 -0300
committerDuda Dornelles <ddornell@thoughtworks.com>2014-08-22 14:26:38 -0300
commit004295c4302ad4d2400a708e77f05cf53a116cae (patch)
tree69c4b82425c25ea2086728b16db354ee590f57b2 /package/pixelated-user-agent
parent7109b03fe1f543fa61242827350b86dd93ba51f8 (diff)
fixing virtualenv shebangs when building the .deb and script to start to run unicorn
Diffstat (limited to 'package/pixelated-user-agent')
-rwxr-xr-xpackage/pixelated-user-agent2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/pixelated-user-agent b/package/pixelated-user-agent
index b1177810..624825cc 100755
--- a/package/pixelated-user-agent
+++ b/package/pixelated-user-agent
@@ -4,4 +4,4 @@ PIXELATED_PATH=/var/lib/pixelated
. $PIXELATED_PATH/virtualenv/bin/activate
cd $PIXELATED_PATH/service/
-$PIXELATED_PATH/virtualenv/bin/python pixelated-user-agent
+$PIXELATED_PATH/virtualenv/bin/gunicorn user_agent:app -b 0.0.0.0:$USER_AGENT_PORT -D -p ~/.gunicorn.pid --log-file=~/.gunicorn.log