summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-04-05 21:51:32 +0200
committerAki <please@ignore.pl>2023-04-05 21:51:32 +0200
commitfab6199135d75c38f3cdc463884c618784c3655a (patch)
tree12cfa47b89c101036070644905f0c26c25293b33 /contrib
parent9c863e9851cfe36bd2101d63a3db767738066331 (diff)
downloadwaterspout-radar-fab6199135d75c38f3cdc463884c618784c3655a.zip
waterspout-radar-fab6199135d75c38f3cdc463884c618784c3655a.tar.gz
waterspout-radar-fab6199135d75c38f3cdc463884c618784c3655a.tar.bz2
Tweaked suggested way of running web interface
Diffstat (limited to 'contrib')
-rw-r--r--contrib/waterspout-pull.service2
-rw-r--r--contrib/waterspout-web.service3
2 files changed, 3 insertions, 2 deletions
diff --git a/contrib/waterspout-pull.service b/contrib/waterspout-pull.service
index 509a290..b584688 100644
--- a/contrib/waterspout-pull.service
+++ b/contrib/waterspout-pull.service
@@ -3,5 +3,5 @@ Description=Pull data for Waterspout Radar
[Service]
Type=oneshot
-ExecStart=/usr/bin/env waterspout-radar -c /etc/waterspout-radar.conf pull
+ExecStart=/usr/bin/env waterspout-radar -c /etc/waterspout-radar.conf
User=waterspout
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]