19 lines
401 B
Desktop File
19 lines
401 B
Desktop File
[Unit]
|
|
Description=Nummi server (accounting)
|
|
Requires=nummi.socket
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=nummi
|
|
Group=nummi
|
|
RuntimeDirectory=nummi
|
|
WorkingDirectory=/usr/share/webapps/nummi
|
|
ExecStart=/usr/bin/uvicorn nummi.asgi:application -uds /run/nummi/nummi.socket
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
KillMode=mixed
|
|
TimeoutStopSec=5
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|