1
0
mirror of https://git.koehlerweb.org/frodovdr/guac-install synced 2024-11-14 22:47:14 +01:00

Compare commits

...

3 Commits

Author SHA1 Message Date
Chase Wright
4e88c3731e
systemd 2021-08-20 21:17:56 -05:00
Chase Wright
0ba76b783b
systemd 2021-08-20 21:17:19 -05:00
Chase Wright
9a9402df00
Move to systemd
Fixes #194 - wasn't as hard as I thought it might be...hopefully nothing else breaks
2021-08-20 21:15:38 -05:00
3 changed files with 5 additions and 5 deletions

View File

@ -64,7 +64,7 @@ mkdir -p /etc/guacamole
# Install guacd (Guacamole-server)
cd guacamole-server-${GUACVERSION}
./configure --with-init-dir=/etc/init.d
./configure --with-systemd-dir=/etc/systemd/system
make
make install

View File

@ -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

View File

@ -124,11 +124,11 @@ fi
# Upgrade Guacamole Server
cd guacamole-server-${GUACVERSION}
./configure --with-init-dir=/etc/init.d
./configure --with-systemd-dir=/etc/systemd/system
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