Combination of work from here and here. Setup Clone repo. sudo cp downtime.sh /etc/init.d chmod 755 downtime.py chmod 755 /etc/init.d/downtime.sh sudo update-rc.d downtime.sh defaults sudo /etc/init.d/downtime.sh start