summaryrefslogtreecommitdiff
path: root/roles/goaccess/templates/goaccess.service.j2
blob: dd20a2608181bde7faf0a519eae7879cb458d789 (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description=GoAccess Dashboard

[Service]
Type=forking
ExecStart=/bin/sh -c 'zcat -f /var/log/nginx/access.log-* | grep -v -f /opt/goaccess/config/exclude.list | goaccess --config-file=/opt/goaccess/config/goaccess.conf - &'
CPUQuota=20%
IOWeight=50
Nice=19