Skip to content

Instantly share code, notes, and snippets.

View bonjourmauko's full-sized avatar

Mauko Quiroga-Alvarado bonjourmauko

View GitHub Profile
@bonjourmauko
bonjourmauko / phantomjs
Last active September 19, 2017 13:53 — forked from deviantony/phantomjs
PhantomJS Upstart
#! /bin/sh
# Init. script for phantomjs, based on Ubuntu 12.04 skeleton.
# Author: Anthony Lapenna <[email protected]>
PATH=/sbin:/usr/sbin:/bin:/usr/bin
DESC="Phantomjs service"
NAME=phantomjs
DAEMON=/usr/bin/$NAME
PIDFILE=/var/run/$NAME.pid
SCRIPTNAME=/etc/init.d/$NAME