Install Homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Update Homebrew formulae: brew update
Sample service script for debian/ubuntu Look at LSB init scripts for more information. Usage Copy to /etc/init.d: # replace "$YOUR_SERVICE_NAME" with your service's name