nummi/nummi.service

19 lines
378 B
Desktop File

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