The sample instructions on setting up HouseMon are OK for initial testing, but require a bit more work for a permanent installation. This post describes how I managed it.
The redis server should be moved to run as a service, I used the quickstart guide from the redis documentation as described in the section “Installing Redis more properly”, modified a little to suit my preferences. Instead of using the port number to describe the redis instance I used “housemon”, the only issue this caused was with the init script that uses the value both as a port number and the instance identifier, so I modified the start of that script a little:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
I also used forever to run the housemon server, install it with
sudo npm install -g forever and then start Housemon with
forever start app.js.