Skip to content

Instantly share code, notes, and snippets.

View gozoinks's full-sized avatar

John Burwell gozoinks

  • Houston, TX
View GitHub Profile
@gozoinks
gozoinks / gist:c7708c6b9907acd86384a1d76f26cec1
Last active January 6, 2022 14:23
Monit on pfsense 2.4 ARM (SG-1000)
# Monit on pfSense 2.4 ARM (SG-1000)
# Install the package from the FreeBSD repository
pkg add http://pkg.freebsd.org/FreeBSD:11:armv6/latest/All/monit-5.18.txz
# Rename the rc.d script to .sh and fix permissions so pfSense will start it automatically
mv /usr/local/etc/rc.d/monit /usr/local/etc/rc.d/monit.sh
chmod 0755 /usr/local/etc/rc.d/monit.sh
# Add monit_enable=YES to a local rc.conf
@gozoinks
gozoinks / homebridge.conf
Created June 30, 2017 23:58
upstart init script for homebridge on ubuntu
# homebridge
description "homebridge server"
# start after init completes (meaning avahi etc are running)
start on stopped rc
stop on shutdown
# keep it running when it inevitably bails
respawn