1# rserver - RStudio main gateway process
2#
3#
4# upstart docs: http://upstart.ubuntu.com/getting-started.html
5#               http://manpages.ubuntu.com/manpages/karmic/man5/init.5.html
6#
7# (note that embedding a script and pre-start and post-start actions are supported)
8#
9
10start on runlevel [2345]
11stop on runlevel [!2345]
12
13expect fork
14
15respawn limit 5 5
16
17# run the server
18exec ${CMAKE_INSTALL_PREFIX}/bin/rserver
19
20
21
22