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

[Service]
Type=oneshot
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%
Nice=19