From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/unrealircd/files/
Date: Sat, 12 Mar 2022 13:45:10 +0000 (UTC) [thread overview]
Message-ID: <1647092693.80a2e6933dfd396112c8283e9fd9a1902ca2c4ea.sam@gentoo> (raw)
commit: 80a2e6933dfd396112c8283e9fd9a1902ca2c4ea
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 12 03:39:24 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 12 13:44:53 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80a2e693
net-irc/unrealircd: only run configtest for main instance
We can't, right now, specify a config file for the configtest
part so just skip it.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-irc/unrealircd/files/unrealircd.initd-r3 | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/net-irc/unrealircd/files/unrealircd.initd-r3 b/net-irc/unrealircd/files/unrealircd.initd-r3
index d2ff1a64c969..5bc03001e87f 100644
--- a/net-irc/unrealircd/files/unrealircd.initd-r3
+++ b/net-irc/unrealircd/files/unrealircd.initd-r3
@@ -32,8 +32,9 @@ else
fi
checkconfig() {
- # command_args weirdness because We want to preserve the chroot arguments if it's set
- su -s /bin/sh ${command_user:=root} -c "${command} ${command_args%${UNREALIRCD_COMMAND_ARGS}}" configtest
+ # command_args weirdness because we want to preserve the chroot arguments if it's set
+ # Only run the configtest for the main instance; it can't work right now for others (no way to specify config file)
+ [ ${SVCNAME} = unrealircd ] && su -s /bin/sh ${command_user:=root} -c "${command} ${command_args%${UNREALIRCD_COMMAND_ARGS}}" configtest
}
depend() {
next reply other threads:[~2022-03-12 13:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-12 13:45 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-03-02 3:09 [gentoo-commits] repo/gentoo:master commit in: net-irc/unrealircd/files/ Sam James
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=1647092693.80a2e6933dfd396112c8283e9fd9a1902ca2c4ea.sam@gentoo \
--to=sam@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