Skip to content

Instantly share code, notes, and snippets.

View cherdt's full-sized avatar

Chris Herdt cherdt

View GitHub Profile
@cherdt
cherdt / bro.service
Last active July 18, 2017 23:46 — forked from JustinAzoff/bro.service
Broctl systemd unit
[Unit]
Description=Bro
After=network.target
AssertPathExists=/var/log/bro_json
AssertPathExists=/var/spool/bro
AssertPathExists=/opt/bro/bin
[Service]
User=bro
Group=bro
@cherdt
cherdt / build-bash-redhat.sh
Last active August 29, 2015 14:06 — forked from href/build-bash-lenny.sh
A script to help automate updating BASH (download, patch, configure, compile, move binaries) on older RedHat systems that don't have yum support
# inspired by http://askubuntu.com/a/528171
# (I disabled the gpg verifaction, it was causing errors)
# get bash 3.2 source
cd ~
# use your favorite/nearest mirror
MIRROR="http://gnu.mirrors.pair.com"
readonly MIRROR
wget ${MIRROR}/gnu/bash/bash-3.2.tar.gz
tar zxvf bash-3.2.tar.gz