r-studio-test/03_setup_root_path.sh

12 lines
271 B
Bash
Raw Normal View History

2022-04-04 19:35:45 +02:00
#!/usr/bin/with-contenv bash
echo "root path: $WWW_ROOT_PATH"
if [[ ! -z $WWW_ROOT_PATH ]]
then
echo "Set www-root-path to $WWW_ROOT_PATH"
echo "www-root-path=$WWW_ROOT_PATH" >> /etc/rstudio/rserver.conf
else
echo "Not setting www-root-path"
fi