systemd: run goaccess run every 10 minutes in non-live mode

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2020-04-18 04:36:37 +05:30
parent 4994dd060a
commit 8ee6ac80de
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 29 additions and 1 deletions

View file

@ -10,7 +10,7 @@ RestartSec=2s
Type=simple
User=caddy
Group=caddy
ExecStart=/usr/bin/goaccess --log-format=VCOMMON --ws-url=wss://stats.msfjarvis.dev/ws --output=/var/www/stats.msfjarvis.dev/index.html --log-file=/etc/logs/requests.log --no-query-string --anonymize-ip --double-decode --real-os --compression=zlib --real-time-html
ExecStart=/usr/bin/goaccess --log-format=VCOMMON --output=/var/www/stats.msfjarvis.dev/index.html --log-file=/etc/logs/requests.log --no-query-string --anonymize-ip --double-decode --real-os --compression=zlib
Restart=always
# Security