blob: 29745e10d8f2c4cce0c2540c3c40f791819cf834 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
[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
NotifyAccess=exec
Restart=always
Type=notify
UMask=0027
User=automx2
WorkingDirectory=/var/lib/automx2
[Install]
WantedBy=multi-user.target
|