From fab6199135d75c38f3cdc463884c618784c3655a Mon Sep 17 00:00:00 2001 From: Aki Date: Wed, 5 Apr 2023 21:51:32 +0200 Subject: Tweaked suggested way of running web interface --- contrib/waterspout-web.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib/waterspout-web.service') 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] -- cgit v1.1