You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
357 B
21 lines
357 B
#!/sbin/openrc-run
|
|
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
depend() {
|
|
need net
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting udpxy"
|
|
start-stop-daemon --start --exec /usr/bin/udpxy -- ${UDPXYOPTS}
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping udpxy"
|
|
start-stop-daemon --stop --exec /usr/bin/udpxy
|
|
eend $?
|
|
}
|
|
|