Skip to content

Instantly share code, notes, and snippets.

View wilsonmichael's full-sized avatar

Michael Wilson wilsonmichael

View GitHub Profile
@wilsonmichael
wilsonmichael / gist:5728060
Created June 7, 2013 09:15
Rserve init.d file that uses R to startup Rserve and stops correctly
!/bin/sh
. /lib/lsb/init-functions
## Variables
LOGFILE="/srv/R/tmp/Rserv/rserve.log"
CONFIGFILE="/etc/Rserv.conf"
RUN_AS="webapps"
# Rserve configs