Skip to content

Instantly share code, notes, and snippets.

@cschneid
Created February 18, 2015 22:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cschneid/4fb0757f7e71bf7cb745 to your computer and use it in GitHub Desktop.
Save cschneid/4fb0757f7e71bf7cb745 to your computer and use it in GitHub Desktop.
description "Rserve (TCP/IP server for running R expressions)"
setuid aa
setgid aa
expect daemon
env R_HOME=/usr/lib/R
script
exec /usr/local/lib/R/site-library/Rserve/libs/Rserve --quiet --vanilla
end script
respawn
@cschneid
Copy link
Author

root@aa:/etc/init# service rserve start
^C
root@aa:/etc/init# service rserve status
rserve start/spawned, process 16094
root@aa:/etc/init# ps aux | grep Rserve | grep -v grep
aa       16094  0.0  0.4 110956 28488 ?        Ss   22:01   0:00 /usr/local/lib/R/site-library/Rserve/libs/Rserve --quiet --vanilla

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment