summarylogtreecommitdiffstats
path: root/automua.service
diff options
context:
space:
mode:
authorHLFH2022-10-28 13:17:47 +0100
committerHLFH2022-10-28 13:17:47 +0100
commit2a6b11020944be42c9327751bc221eed71866885 (patch)
tree0e7b34e5727a604f2be2231154808fd620d22f86 /automua.service
downloadaur-2a6b11020944be42c9327751bc221eed71866885.tar.gz
automua initial release
Diffstat (limited to 'automua.service')
-rw-r--r--automua.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/automua.service b/automua.service
new file mode 100644
index 000000000000..a09cfdd5662a
--- /dev/null
+++ b/automua.service
@@ -0,0 +1,14 @@
+[Unit]
+After=network.target
+Description=Auto MUA configuration service
+Documentation=https://hlfh.github.io/automua/
+
+[Service]
+Environment=FLASK_APP=automua.server:app
+Environment=FLASK_CONFIG=production
+ExecStart=/srv/http/automua/.venv/bin/python /srv/http/automua/.venv/bin/flask run --host=127.0.0.1 --port=4243
+Restart=always
+User=automua
+
+[Install]
+WantedBy=multi-user.target