Skip to content

Commit

Permalink
Make session-timeout-minutes configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed May 20, 2021
1 parent f705fa4 commit 2632b96
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Set up (the latest version of) [RStudio Server](https://www.rstudio.com/products
* `rstudio_server_www_address` [default: `0.0.0.0`]: The address you want RStudio to listen on
* `rstudio_server_auth_required_user_group` [optional]: Limits the users who can login to RStudio to the members of a this group (e.g. `rstudio_users`)
* `rstudio_server_which_r` [optional]: Override which version of R is used
* `rstudio_server_session_timeout_minutes` [optional]: Session timeout (e.g. `0`, no timeout)

## Dependencies

Expand Down
2 changes: 1 addition & 1 deletion templates/etc/rstudio/rserver.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# {{ ansible_managed }}
{{ ansible_managed | comment }}

# Server Configuration File

Expand Down
5 changes: 4 additions & 1 deletion templates/etc/rstudio/rsession.conf.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# {{ ansible_managed }}
{{ ansible_managed | comment }}

# R Session Configuration File
{% if rstudio_server_session_timeout_minutes is defined %}
session-timeout-minutes={{ rstudio_server_session_timeout_minutes }}
{% endif %}

0 comments on commit 2632b96

Please sign in to comment.