mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
- upstream fixed the bundeld zlib handling in some parts we still need a walkaround for this - droped use-flag example, as it depends on dev-libs/tntdb it not exist in the tree (yet) Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Joerg Bornkessel <hd_brummy@gentoo.org>
28 lines
550 B
Plaintext
28 lines
550 B
Plaintext
#!/sbin/openrc-run
|
|
# Copyright 2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
PIDFILE="/var/run/tntnet.pid"
|
|
|
|
depend() {
|
|
use net
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting tntnet"
|
|
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec /usr/bin/tntnet
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping tntnet"
|
|
start-stop-daemon --stop --pidfile $PIDFILE --exec /usr/bin/tntnet
|
|
eend $?
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading tntnet configuration"
|
|
start-stop-daemon --pidfile $PIDFILE --signal HUP --exec /usr/bin/tntnet
|
|
eend $?
|
|
}
|