-
-
Save githubcom13/d4e6a2b4ceb04d2c3ed345cf4d428c1f to your computer and use it in GitHub Desktop.
goaccess systemd service
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Goaccess Web log report. | |
After=network.target | |
[Service] | |
Type=simple | |
User=root | |
Group=root | |
Restart=always | |
ExecStart=/usr/local/bin/goaccess -a -g -f /var/log/nginx/access.log -o /srv/www/goaccess/index.html --real-time-html --ws-url <your url> | |
StandardOutput=null | |
StandardError=null | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment