From 9a9402df0051bea27ff7ccc2592ca3db86fb420a Mon Sep 17 00:00:00 2001 From: Chase Wright Date: Fri, 20 Aug 2021 21:15:38 -0500 Subject: [PATCH] Move to systemd Fixes #194 - wasn't as hard as I thought it might be...hopefully nothing else breaks --- guac-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guac-install.sh b/guac-install.sh index 46a065f..f0306dc 100755 --- a/guac-install.sh +++ b/guac-install.sh @@ -410,11 +410,11 @@ cd guacamole-server-${GUACVERSION}/ echo -e "${BLUE}Building Guacamole-Server with GCC $( gcc --version | head -n1 | grep -oP '\)\K.*' | awk '{print $1}' ) ${NC}" echo -e "${BLUE}Configuring Guacamole-Server. This might take a minute...${NC}" -./configure --with-init-dir=/etc/init.d &>> ${LOG} +./configure --with-systemd-dir=/etc/systemd/system &>> ${LOG} if [ $? -ne 0 ]; then echo "Failed to configure guacamole-server" echo "Trying again with --enable-allow-freerdp-snapshots" - ./configure --with-init-dir=/etc/init.d --enable-allow-freerdp-snapshots + ./configure --with-systemd-dir=/etc/systemd/system --enable-allow-freerdp-snapshots if [ $? -ne 0 ]; then echo "Failed to configure guacamole-server - again" exit