mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	fix: update guacd service configuration in installation script (#1122)
This commit is contained in:
		@@ -126,7 +126,21 @@ Restart=always
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
EOF
 | 
			
		||||
systemctl -q enable --now tomcat guacd mysql
 | 
			
		||||
cat <<EOF >/etc/systemd/system/guacd.service
 | 
			
		||||
[Unit]
 | 
			
		||||
Description=Guacamole Proxy Daemon (guacd)
 | 
			
		||||
After=mysql.service tomcat.service
 | 
			
		||||
Requires=mysql.service tomcat.service
 | 
			
		||||
[Service]
 | 
			
		||||
Type=forking
 | 
			
		||||
ExecStart=/etc/init.d/guacd start
 | 
			
		||||
ExecStop=/etc/init.d/guacd stop
 | 
			
		||||
ExecReload=/etc/init.d/guacd restart
 | 
			
		||||
PIDFile=/var/run/guacd.pid
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
EOF
 | 
			
		||||
systemctl -q enable --now mysql tomcat guacd
 | 
			
		||||
msg_ok "Setup Service"
 | 
			
		||||
 | 
			
		||||
motd_ssh
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user