public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-server/bedrock-server/, games-server/bedrock-server/files/
Date: Mon, 25 Dec 2023 13:56:54 +0000 (UTC)	[thread overview]
Message-ID: <1703512563.c8e51359e7627ec908ca3b11ee17f49d8af72981.conikost@gentoo> (raw)

commit:     c8e51359e7627ec908ca3b11ee17f49d8af72981
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 25 13:56:03 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Mon Dec 25 13:56:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8e51359

games-server/bedrock-server: update init script

This fixes the following warning:
* OPENRC: unnecessary usage of start_stop_daemon_args found:
* --chdir should be replaced with directory="[..]"

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 ...ock-server-1.20.51.01.ebuild => bedrock-server-1.20.51.01-r1.ebuild} | 2 +-
 .../files/{bedrock-server.initd-r4 => bedrock-server.initd-r5}          | 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
similarity index 94%
rename from games-server/bedrock-server/bedrock-server-1.20.51.01.ebuild
rename to 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
similarity index 97%
rename from games-server/bedrock-server/files/bedrock-server.initd-r4
rename to 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"


             reply	other threads:[~2023-12-25 13:56 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-25 13:56 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-28  0:43 [gentoo-commits] repo/gentoo:master commit in: games-server/bedrock-server/, games-server/bedrock-server/files/ Conrad Kostecki
2022-04-09 14:40 Conrad Kostecki
2022-04-03 15:00 Conrad Kostecki
2020-08-23 18:14 Conrad Kostecki
2019-12-13  0:16 Conrad Kostecki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1703512563.c8e51359e7627ec908ca3b11ee17f49d8af72981.conikost@gentoo \
    --to=conikost@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox