Sha256: a650fc62d6334fd9d2e388378b1cd565b50b0ff84ee8a5bde81ba6c4a600cbae
Contents?: true
Size: 878 Bytes
Versions: 1
Compression:
Stored size: 878 Bytes
Contents
if sunzi.to_be_done "install analysers"; then echo "deb http://deb.goaccess.io/ $(lsb_release -cs) main" | tee -a /etc/apt/sources.list.d/goaccess.list wget -O - http://deb.goaccess.io/gnugpg.key | apt-key add - sunzi.mute "apt-get update" sunzi.install "goaccess" #TODO: http://goaccess.io/faq#howto-config sunzi.install "iotop" sunzi.install "iftop" sunzi.install "ifstat" sunzi.install "nethogs" sunzi.install "sysstat" sed -i 's/#time-format %H:%M:%S/time-format %H:%M:%S/' /etc/goaccess.conf sed -i 's|#date-format %d/%b/%Y|date-format %d/%b/%Y|' /etc/goaccess.conf sed -i 's/#log-format %h %\^\[%d:%t %\^\] "%r" %s %b "%R" "%u"/log-format %h - %\^ \[%d:%t %\^\] "%r" %s %b "%R" "%u" %T %\^/' /etc/goaccess.conf sed -i 's/ENABLED="false"/ENABLED="true"/' /etc/default/sysstat /etc/init.d/sysstat restart sunzi.done "install analysers" fi
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sunzi-rails-0.2.19 | lib/templates/create/recipes/analysers.sh |