Apache-Guacamole script bug fix (#1039)

* Fix apache-guacamole-script

* Update apache-guacamole-install.sh

Changed ip address binding for more security

* Update apache-guacamole-install.sh

* remove systemctl start

---------

Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
JBSAN3 2024-12-27 20:28:25 +01:00 committed by GitHub
parent ab292927e6
commit 517b19a62b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,6 +98,11 @@ cat *.sql | mysql -u root ${DB_NAME}
msg_ok "Setup Database"
msg_info "Setup Service"
cat <<EOF >/etc/guacamole/guacd.conf
[server]
bind_host = 127.0.0.1
bind_port = 4822
EOF
JAVA_HOME=$(update-alternatives --query javadoc | grep Value: | head -n1 | sed 's/Value: //' | sed 's@bin/javadoc$@@')
cat <<EOF >/etc/systemd/system/tomcat.service
[Unit]