diff options
author | Sam James <sam@gentoo.org> | 2022-03-12 03:39:24 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-03-12 13:44:53 +0000 |
commit | 80a2e6933dfd396112c8283e9fd9a1902ca2c4ea (patch) | |
tree | 7de11025494a19d1ded33256e00fe131aad0034e /net-irc | |
parent | media-libs/libaom: Stabilize 3.3.0 arm64, #834977 (diff) | |
download | gentoo-80a2e6933dfd396112c8283e9fd9a1902ca2c4ea.tar.gz gentoo-80a2e6933dfd396112c8283e9fd9a1902ca2c4ea.tar.bz2 gentoo-80a2e6933dfd396112c8283e9fd9a1902ca2c4ea.zip |
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@gentoo.org>
Diffstat (limited to 'net-irc')
-rw-r--r-- | net-irc/unrealircd/files/unrealircd.initd-r3 | 5 |
1 files 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() { |