summarylogtreecommitdiffstats
path: root/pyca-ui.service
diff options
context:
space:
mode:
authorDaniel Ebbert2020-07-18 14:01:20 +0200
committerDaniel Ebbert2020-07-18 14:01:20 +0200
commitff7044030f1a3f813a3271a499830fc2ada44481 (patch)
treebef8f3e3c856d9d8b9f786451a5712ed8baaa9e9 /pyca-ui.service
parent007d7be8dc7ac27c3b5e9f3b0b373e98adb565fc (diff)
downloadaur-ff7044030f1a3f813a3271a499830fc2ada44481.tar.gz
Update to pyCA 3.2
Diffstat (limited to 'pyca-ui.service')
-rw-r--r--pyca-ui.service6
1 files changed, 4 insertions, 2 deletions
diff --git a/pyca-ui.service b/pyca-ui.service
index 209bbff0c414..d8053b02a000 100644
--- a/pyca-ui.service
+++ b/pyca-ui.service
@@ -2,13 +2,15 @@
Description=Python Capture Agent UI instance
Documentation=https://github.com/opencast/pyCA
Wants=network.target
+PartOf=pyca.service
+After=pyca.service
[Service]
Type=simple
User=pyca
-ExecStart=/usr/bin/gunicorn pyca.ui:app
+ExecStart=/usr/bin/python3 -m gunicorn.app.wsgiapp --config=/etc/pyca/gunicorn.conf.py pyca.ui:app
Restart=always
RestartSec=10
[Install]
-WantedBy=multi-user.target
+WantedBy=pyca.service