This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
logtracker/debian/logtracker.service

25 lines
536 B
Desktop File

[Unit]
Description=logtracker
After=network.target postgresql.service
[Service]
Type=notify
Environment=LANG=C.UTF-8
User=%p
Group=%p
ExecStartPre=/usr/bin/logtracker-manage migrate --noinput
ExecStartPre=/usr/bin/logtracker-manage collectstatic --noinput
ExecStart=/usr/bin/uwsgi --ini /etc/%p/uwsgi.ini
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGQUIT
Restart=on-failure
RuntimeDirectory=logtracker
ProtectSystem=strict
ProtectHome=yes
ProtectDevices=yes
NoNewPrivileges=yes
PrivateTmp=yes
[Install]
WantedBy=multi-user.target