Skip to content

Commit c6cf085

Browse files
authored
Fix script import path for RCON_CMDS_* (#3695)
1 parent 3eb8f85 commit c6cf085

File tree

6 files changed

+3
-2
lines changed

6 files changed

+3
-2
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ exec /image/scripts/start
7474
EOF
7575

7676
COPY --chmod=755 scripts/auto/* /image/scripts/auto/
77-
COPY --chmod=755 files/shims/ /usr/local/bin/
77+
COPY --chmod=755 scripts/shims/* /image/scripts/shims/
78+
RUN ln -s /image/scripts/shims/* /usr/local/bin/
7879
COPY --chmod=755 files/* /image/
7980

8081
RUN curl -fsSL -o /image/Log4jPatcher.jar https://github.com/CreeperHost/Log4jPatcher/releases/download/v1.0.1/Log4jPatcher-1.0.1.jar
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

scripts/start-rconcmds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ isDebugging && set -x
2525
isNumericElseSetToDefault RCON_CMDS_PERIOD 10
2626
checkIfNotZeroElseSetToDefault RCON_CMDS_PERIOD 10
2727

28-
/usr/local/bin/rcon-cmds-daemon.sh &
28+
"$(dirname "$0")/auto/rcon-cmds-daemon.sh" &

0 commit comments

Comments
 (0)