mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
Since IGMPProxy does not create a pid file by itself, the daemon needs to be started in foreground, to keep tracking of the correct pidfile with openrc and put it background. Closes: https://bugs.gentoo.org/672842 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Conrad Kostecki <conrad@kostecki.com> Closes: https://github.com/gentoo/gentoo/pull/10610 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
13 lines
337 B
Plaintext
13 lines
337 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 1999-2018 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
config="/etc/${RC_SVCNAME}.conf"
|
|
name="IGMPproxy"
|
|
pidfile="/run/${RC_SVCNAME}.pid"
|
|
|
|
command="/usr/sbin/igmpproxy"
|
|
command_args="${IGMPPROXY_OPTS} -n ${config}"
|
|
command_background="true"
|
|
required_files="${config}"
|