Is there a best practice how to start the shiny proxy in Ubuntu 16.04 on startup?
Dieter Menne
Is there a best practice how to start the shiny proxy in Ubuntu 16.04 on startup?
Dieter Menne
Hi @dmenne ,
Thanks for your question. Probably you’d need to create a new systemd service for ShinyProxy.
We are about to produce .deb packages for ShinyProxy and will take care of it in this context.
Best,
Tobias
The following shinyproxy.jar.service in /etc/systemd/system/ works:
[Unit]
Description=ShinyProxy
After=docker.service
[Service]
ExecStart=/usr/bin/java -jar /usr/local/bin/shinyproxy/shinyproxy-0.8.4.jar &
WorkingDirectory=/usr/local/bin/shinyproxy/
SuccessExitStatus=1
[Install]
WantedBy=multi-user.target
This worked for me. Thanks!
FYI there are now .deb and .rpm packages that come with systemd configuration and scripts out of the box.
See https://www.shinyproxy.io/downloads/
Best,
Tobias
@tverbeke Can you point to a ticket/docs that describes this in more detail. What scripts/configs specifically?
Thanks,
Alek