diff options
author | Jan Koppe | 2017-05-02 15:32:04 +0200 |
---|---|---|
committer | Jan Koppe | 2017-05-02 15:32:04 +0200 |
commit | 5a2fbaafd2139287e974c3b7992edd955d8ef3a5 (patch) | |
tree | c6601391fd2afd99a06f9115ddf8e6e147fa978b /pyca-ui.service | |
parent | 2ba6120c335f554ae9fb96c1872cf2505acbd7ab (diff) | |
download | aur-5a2fbaafd2139287e974c3b7992edd955d8ef3a5.tar.gz |
use simpler, more reliable systemd service units
Diffstat (limited to 'pyca-ui.service')
-rw-r--r-- | pyca-ui.service | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pyca-ui.service b/pyca-ui.service new file mode 100644 index 000000000000..d6e87f217bf4 --- /dev/null +++ b/pyca-ui.service @@ -0,0 +1,15 @@ +[Unit] +Description=Python Capture Agent UI instance +Documentation=https://github.com/opencast/pyCA +Wants=network.target +PartOf=pyca.target + +[Service] +Type=simple +User=pyca +ExecStart=/usr/bin/gunicorn pyca.ui:app +Restart=always +RestartSec=10 + +[Install] +WantedBy=pyca.target |