aboutsummarylogtreecommitdiffstats
path: root/tandoor.service
blob: f20819239606d8237c50e0cf27502ebfd19de0b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=gunicorn daemon for tandoor recipes
Requires=tandoor.socket
After=network.target

[Service]
Type=notify
Restart=always
RestartSec=3
DynamicUser=yes
WorkingDirectory=/var/lib/tandoor
ReadWritePaths=/var/lib/tandoor
EnvironmentFile=/etc/tandoor/tandoor.conf
ExecStart=/usr/share/tandoor/venv/bin/gunicorn --chdir /usr/share/tandoor --log-level debug recipes.wsgi:application
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=mixed
TimeoutStopSec=6
PrivateTmp=true

[Install]
WantedBy=multi-user.target