Please try adding a single dash to read from the pipe. e.g.,


/usr/local/bin/goaccess - -p /usr/local/etc/goaccess/goaccess.conf -o /var/www/dashboard.html --real-time-html...