Autostart shinyproxy

Is there a best practice how to start the shiny proxy in Ubuntu 16.04 on startup?

Dieter Menne

1 Like

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
3 Likes

This worked for me. Thanks!

@Alek_Liskov, @dmenne,

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

2 Likes

@tverbeke Can you point to a ticket/docs that describes this in more detail. What scripts/configs specifically?

Thanks,
Alek