diff --git a/install/apache-guacamole-install.sh b/install/apache-guacamole-install.sh index 71393235..1a465ddf 100644 --- a/install/apache-guacamole-install.sh +++ b/install/apache-guacamole-install.sh @@ -126,7 +126,21 @@ Restart=always [Install] WantedBy=multi-user.target EOF -systemctl -q enable --now tomcat guacd mysql +cat </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