File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
echo " Preparing Config Folder"
3
+ if [ -d " /config/guacamole/" ]; then
4
+ rm -r /config/guacamole/extensions
5
+ rm -r /config/guacamole/extensions-available
6
+ rm -r /config/guacamole/lib
7
+ rm -r /config/guacamole/schema
8
+ cp -r /app/guacamole/extensions /config/guacamole
9
+ cp -r /app/guacamole/extensions-available /config/guacamole
10
+ cp -r /app/guacamole/lib /config/guacamole
11
+ cp -r /app/guacamole/schema /config/guacamole
12
+ fi
3
13
cp -rn /app/guacamole /config
4
14
mkdir -p /root/.config/freerdp/known_hosts
5
15
chown -R tomcat:tomcat /config/guacamole
16
+ chown -R tomcat:tomcat /opt/tomcat # Might help to fix issues with bug on tomcat logs
6
17
7
18
# Own postgres folder if exist (change to alpine)
8
19
if [ -d " /config/postgres/" ]; then
31
42
# enable extensions
32
43
for i in $( echo " $EXTENSIONS " | tr " ," " " ) ; do
33
44
cp ${GUACAMOLE_HOME} /extensions-available/guacamole-${i} -${GUAC_VER} .jar ${GUACAMOLE_HOME} /extensions
34
- done
45
+ done
You can’t perform that action at this time.
0 commit comments