mirror of
				https://git.koehlerweb.org/frodovdr/guac-install
				synced 2025-10-31 07:26:40 +01:00 
			
		
		
		
	Create guacd.conf before starting service
This commit is contained in:
		| @@ -639,6 +639,14 @@ else | |||||||
| fi | fi | ||||||
| echo | echo | ||||||
|  |  | ||||||
|  | # Create guacd.conf file required for 1.4.0 | ||||||
|  | echo -e "${BLUE}Create guacd.conf file...${NC}" | ||||||
|  | cat >> /etc/guacamole/guacd.conf <<- "EOF" | ||||||
|  | [server] | ||||||
|  | bind_host = 0.0.0.0 | ||||||
|  | bind_port = 4822 | ||||||
|  | EOF | ||||||
|  |  | ||||||
| # Ensure guacd is started | # Ensure guacd is started | ||||||
| echo -e "${BLUE}Starting guacd service & enable at boot...${NC}" | echo -e "${BLUE}Starting guacd service & enable at boot...${NC}" | ||||||
| service guacd stop 2>/dev/null | service guacd stop 2>/dev/null | ||||||
| @@ -676,14 +684,6 @@ fi | |||||||
| # I think there is another service called firewalld that some people could be running instead | # I think there is another service called firewalld that some people could be running instead | ||||||
| # Unless someone opens an issue about it or submits a pull request, I'm going to ignore it for now | # Unless someone opens an issue about it or submits a pull request, I'm going to ignore it for now | ||||||
|  |  | ||||||
| # Create guacd.conf file required for 1.4.0 |  | ||||||
| echo -e "${BLUE}Create guacd.conf file...${NC}" |  | ||||||
| cat >> /etc/guacamole/guacd.conf <<- "EOF" |  | ||||||
| [server] |  | ||||||
| bind_host = 0.0.0.0 |  | ||||||
| bind_port = 4822 |  | ||||||
| EOF |  | ||||||
|  |  | ||||||
| # Cleanup | # Cleanup | ||||||
| echo -e "${BLUE}Cleanup install files...${NC}" | echo -e "${BLUE}Cleanup install files...${NC}" | ||||||
| rm -rf guacamole-* | rm -rf guacamole-* | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user