mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-25 10:06:18 +00:00
fix: update guacd service configuration in installation script (#1122)
This commit is contained in:
parent
dc314990f8
commit
2479ceeb99
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user