diff --git a/GauntDocker.sh b/GauntDocker.sh index 2516839..6332489 100644 --- a/GauntDocker.sh +++ b/GauntDocker.sh @@ -1,12 +1,5 @@ #!/bin/bash -#ldap-hostname: gauntdc01.home.johnhgaunt.com -#ldap-port: 389 -#ldap-user-base-dn: CN=Users,DC=home,DC=johnhgaunt,DC=com -#ldap-search-bind-dn: CN=Service_Guacamole,CN=Users,DC=home,DC=johnhgaunt,DC=com -#ldap-search-bind-password: -#ldap-username-attribute: sAMAccountName - # need to be root if [ "$EUID" -ne 0 ]; then echo "Please run as root" @@ -41,6 +34,7 @@ guacamole () { --name guacamole \ --link guacd:guacd \ -p 8080:8080 \ + --restart=always \ -e MYSQL_HOSTNAME=gauntsql.home.johnhgaunt.com \ -e MYSQL_DATABASE=guacamole_db \ -e MYSQL_USER=guacamole \