Created
April 4, 2017 15:16
-
-
Save virtualdreams/77aff3c8d015daf2abdda763b40f1e76 to your computer and use it in GitHub Desktop.
goaccess systemd service
This file contains 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