diff options
Diffstat (limited to 'net-analyzer/goaccess/files/goaccess.initd')
-rw-r--r-- | net-analyzer/goaccess/files/goaccess.initd | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/net-analyzer/goaccess/files/goaccess.initd b/net-analyzer/goaccess/files/goaccess.initd new file mode 100644 index 000000000000..be0059588396 --- /dev/null +++ b/net-analyzer/goaccess/files/goaccess.initd @@ -0,0 +1,14 @@ +#!/sbin/openrc-run +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/goaccess" +name="GoAccess" +description="Real-time web log analyzer" +config="${CONFIG:-/etc/goaccess/goaccess.conf}" +command_args="--real-time-html --daemonize -p $config ${OPTS}" +start_stop_daemon_args="-q" + +depend() { + need net +} |