rstudio / shiny-server

Host Shiny applications over the web.
https://rstudio.com/shiny/server
Other
716 stars 289 forks source link

Unclear how to change temp dir for shiny-server #480

Open burgerga opened 3 years ago

burgerga commented 3 years ago

Currently shiny-server creates tempdirs in /tmp and it is unclear how to change this:

Can this be made more clear in the documentation? (and maybe the tmpdir should be a configuration option? (I am using it on our server to give shiny app authors read access to this tmpdir by setting the setgid bit on that directory))


PS Regarding https://docs.rstudio.com/shiny-server/#environment-variable-settings, the recommended way of changing these systemd files is with

systemctl edit shiny-server.service

this will leave the (shiny-server package maintained) /etc/systemd/system/shiny-server.service untouched, but creates override conf files in /etc/systemd/system/shiny-server.service.d/ (see https://serverfault.com/a/840999).