mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-12-16 07:01:08 +00:00
update HOMEPAGE http+S update SRC_URI (redirect) don't use bundled getopt remove register keyword (c17) rename configure.in to configure.ac refresh initd w/o bashism Closes: https://bugs.gentoo.org/822075 Closes: https://bugs.gentoo.org/849284 Closes: https://bugs.gentoo.org/921659 Closes: https://bugs.gentoo.org/945521 Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/43966 Closes: https://github.com/gentoo/gentoo/pull/43966 Signed-off-by: Sam James <sam@gentoo.org>
17 lines
427 B
Text
17 lines
427 B
Text
#!/sbin/openrc-run
|
|
# Copyright 2025 Gentoo Authors
|
|
# # Distributed under the terms of the GNU General Public License v2
|
|
|
|
: ${PORTFWD_CONFIG:=/etc/portfwd.cfg}
|
|
|
|
name="portfwd"
|
|
description="Port Forwarding Daemon"
|
|
command="/usr/sbin/portfwd"
|
|
command_args="--foreground --config ${PORTFWD_CONFIG} ${PORTFWD_OPTS}"
|
|
command_background=true
|
|
pidfile="/run/${RC_SVCNAME}.pid"
|
|
required_files="${PORTFWD_CONFIG}"
|
|
|
|
depend() {
|
|
need net
|
|
}
|