aboutsummarylogtreecommitdiffstats
path: root/automx2.service
blob: edaa4d94ab88bc20b2e639f299db61972ab5dbe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
After=network.target
ConditionPathIsDirectory=/var/lib/automx2
Description=MUA configuration service
Documentation=https://rseichter.github.io/automx2/ file:/usr/share/doc/automx2/README.md

[Service]
Environment=FLASK_APP=automx2.server:app
Environment=FLASK_CONFIG=production
ExecStart=/usr/bin/flask run --host=127.0.0.1 --port=4243
Restart=always
UMask=0027
User=automx2
WorkingDirectory=/var/lib/automx2

[Install]
WantedBy=multi-user.target