Skip to content

Instantly share code, notes, and snippets.


John Burwell gozoinks

View GitHub Profile
gozoinks / gist:c7708c6b9907acd86384a1d76f26cec1
Last active Sep 24, 2018
Monit on pfsense 2.4 ARM (SG-1000)
View gist:c7708c6b9907acd86384a1d76f26cec1
# Monit on pfSense 2.4 ARM (SG-1000)
# Install the package from the FreeBSD repository
pkg add
# 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/
chmod 0755 /usr/local/etc/rc.d/
# Add monit_enable=YES to a local rc.conf
gozoinks / homebridge.conf
Created Jun 30, 2017
upstart init script for homebridge on ubuntu
View homebridge.conf
# 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