2017-03-30 01:53:11 +02:00
|
|
|
# shinyproxy - springboot based shiny executor
|
|
|
|
|
|
|
|
description "shinyproxy service"
|
|
|
|
|
|
|
|
start on runlevel [2345]
|
|
|
|
stop on runlevel [!2345]
|
|
|
|
respawn
|
|
|
|
respawn limit 10 5
|
|
|
|
|
|
|
|
setuid {{ shinyproxy_user }}
|
|
|
|
setgid {{ shinyproxy_user }}
|
|
|
|
|
2017-03-31 21:23:36 +02:00
|
|
|
script
|
|
|
|
cd {{ shinyproxy_install_dir }}
|
|
|
|
exec java -jar ./{{ shinyproxy_app_name }}
|
|
|
|
end script
|
|
|
|
|