Skip to content

Instantly share code, notes, and snippets.

Avatar

John Burwell gozoinks

View GitHub Profile
@gozoinks
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 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 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
respawn
You can’t perform that action at this time.