Skip to content

Commit e03d89e

Browse files
committed
fix: update file paths in entrypoint scripts
The commit updates the file paths in the entrypoint scripts to use the correct variables and directories. This ensures that the scripts work as intended and avoid any potential errors or issues.
1 parent a6d127a commit e03d89e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

entrypoint-healthcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
#!/bin/bash
2-
exec gosu ${USERNAME} /app/*server monitor || exit 1
2+
exec gosu "${USERNAME}" /app/*server monitor || exit 1

entrypoint-user.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ elif [ -d "/app/lgsm/modules" ]; then
1717
fi
1818

1919
# Install game server
20-
if [ -z "$(ls -A -- "serverfiles" 2> /dev/null)" ]; then
20+
if [ -z "$(ls -A -- "/data/serverfiles" 2> /dev/null)" ]; then
2121
echo -e ""
2222
echo -e "Installing ${GAMESERVER}"
2323
echo -e "================================="

0 commit comments

Comments
 (0)