Skip to content

Instantly share code, notes, and snippets.

View johncalvinyoung's full-sized avatar

John Calvin Young johncalvinyoung

  • RoleModel Software
View GitHub Profile

Keybase proof

I hereby claim:

  • I am johncalvinyoung on github.
  • I am johncalvinyoung (https://keybase.io/johncalvinyoung) on keybase.
  • I have a public key whose fingerprint is 111B 9C20 F2A6 D235 0F72 355D 69EA D789 9F1C 5F2A

To claim this, I am signing this object:

/var/log/<project>/*.log {
daily
rotate 30
missingok
copytruncate
compress
delaycompress
notifempty
olddir /var/log/<project>/history
dateext
@johncalvinyoung
johncalvinyoung / phantomjs
Created March 10, 2016 21:29 — forked from deviantony/phantomjs
Installer script to setup phantomjs 1.9.7, it will remove any previous setup. Contains also the init script to manage phantomjs as a system service and the default configuration file. Tested on Ubuntu 12.04.
#! /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