forked from ISTI-ansible-roles/ansible-roles
18 lines
321 B
Django/Jinja
18 lines
321 B
Django/Jinja
# 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 }}
|
|
|
|
script
|
|
cd {{ shinyproxy_install_dir }}
|
|
exec java -jar ./{{ shinyproxy_app_name }}
|
|
end script
|
|
|