nummi/nummi.service

20 lines
373 B
SYSTEMD
Raw Normal View History

2022-05-21 12:12:34 +02:00
[Unit]
Description=Nummi server (accounting)
Requires=nummi.socket
After=network.target
[Service]
Type=notify
User=nummi
Group=nummi
RuntimeDirectory=nummi
2022-05-21 12:34:48 +02:00
WorkingDirectory=/usr/share/webapps/nummi
2022-05-21 12:12:34 +02:00
ExecStart=/usr/bin/gunicorn nummi.asgi:application
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=mixed
TimeoutStopSec=5
PrivateTmp=true
[Install]
WantedBy=multi-user.target