summaryrefslogtreecommitdiff
path: root/contrib/waterspout-web.service
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/waterspout-web.service')
-rw-r--r--contrib/waterspout-web.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/waterspout-web.service b/contrib/waterspout-web.service
index d177cde..377a221 100644
--- a/contrib/waterspout-web.service
+++ b/contrib/waterspout-web.service
@@ -3,7 +3,8 @@ Description=Waterspout Radar Web Interface
[Service]
Type=simple
-ExecStart=/usr/bin/env waterspout-radar -c /etc/waterspout-radar.conf web
+ExecStart=uwsgi --socket /run/waterspout-radar.sock --module waterspout_radar.web:app --vacuum
+Environment="WATERSPOUT_RADAR_CONFIG=/etc/waterspout-radar.conf"
User=waterspout
[Install]