summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-server')
-rw-r--r--games-server/bedrock-server/bedrock-server-1.20.51.01-r1.ebuild (renamed from games-server/bedrock-server/bedrock-server-1.20.51.01.ebuild)2
-rw-r--r--games-server/bedrock-server/files/bedrock-server.initd-r5 (renamed from games-server/bedrock-server/files/bedrock-server.initd-r4)2
2 files changed, 2 insertions, 2 deletions
diff --git a/games-server/bedrock-server/bedrock-server-1.20.51.01.ebuild b/games-server/bedrock-server/bedrock-server-1.20.51.01-r1.ebuild
index 885e6a8334b8..694410ea0565 100644
--- a/games-server/bedrock-server/bedrock-server-1.20.51.01.ebuild
+++ b/games-server/bedrock-server/bedrock-server-1.20.51.01-r1.ebuild
@@ -47,7 +47,7 @@ src_install() {
dodir /opt/bin
dosym ../bedrock-server/bedrock_server /opt/bin/bedrock-server
- newinitd "${FILESDIR}"/bedrock-server.initd-r4 bedrock-server
+ newinitd "${FILESDIR}"/bedrock-server.initd-r5 bedrock-server
newconfd "${FILESDIR}"/bedrock-server.confd bedrock-server
systemd_newunit "${FILESDIR}"/bedrock-server.service bedrock-server@.service
diff --git a/games-server/bedrock-server/files/bedrock-server.initd-r4 b/games-server/bedrock-server/files/bedrock-server.initd-r5
index 2bc351490e96..40946197b7c5 100644
--- a/games-server/bedrock-server/files/bedrock-server.initd-r4
+++ b/games-server/bedrock-server/files/bedrock-server.initd-r5
@@ -12,10 +12,10 @@ bedrock_command="/opt/bin/bedrock-server"
bedrock_path="/var/lib/bedrock-server"
bedrock_path_data="/opt/bedrock-server"
bedrock_path_instance="${bedrock_path}/${instance}"
+directory="${bedrock_path_instance}/"
dtach_tmpfile="$(mktemp -u)"
name="Minecraft Bedrock server (${instance})"
pidfile="/run/bedrock-server.${instance}.pid"
-start_stop_daemon_args="--chdir ${bedrock_path_instance}"
description_attach="Attaches to the session (interactive console) of the Minecraft Bedrock server"
extra_started_commands="attach"