Autostart shinyproxy


#1

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

Dieter Menne


#2

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


#3

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

#4

This worked for me. Thanks!


#5

@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


#6

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

Thanks,
Alek