rubuntushinyshiny-serverubuntu-22.04

Setting app_idle_timeout for shiny changes nothing


I want my shiny app to remain active continuously so that anyone who accesses the link can instantly use the app without waiting for it to start. According to documentation app_idle_timeout set to large values should solve my problem but it doesn't.

My app is running on Ubuntu 22.04. I tried to change default.config file which is in "/opt/shiny-server/config/" directory as it is advised here.


Solution

  • I found another config file called shiny-server.config in "/etc/shiny-server/" directory which should be altered instead of default.config in "/opt/shiny-server/config/"

    It also seems that shiny-server restart is required for changes to come, so paste the following code in your Linux command line

    systemctl restart shiny-server