summaryrefslogtreecommitdiff
path: root/service/go
diff options
context:
space:
mode:
Diffstat (limited to 'service/go')
-rwxr-xr-xservice/go9
1 files changed, 5 insertions, 4 deletions
diff --git a/service/go b/service/go
index 1342660b..d0d83096 100755
--- a/service/go
+++ b/service/go
@@ -1,5 +1,6 @@
-#!/bin/bash
+#!/usr/bin/env python
+from app.pixelated_user_agent import setup
+import os
+os.environ['PIXELATED_UA_CFG']='../config/pixelated_ua.cfg'
+setup()
-export PIXELATED_UA_CFG=../config/pixelated_ua.cfg
-export APP_ROOT=.
-python app/pixelated_user_agent.py