From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- net-misc/netkit-rwho/files/netkit-rwho-0.17-rc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 net-misc/netkit-rwho/files/netkit-rwho-0.17-rc (limited to 'net-misc/netkit-rwho/files/netkit-rwho-0.17-rc') diff --git a/net-misc/netkit-rwho/files/netkit-rwho-0.17-rc b/net-misc/netkit-rwho/files/netkit-rwho-0.17-rc new file mode 100644 index 000000000000..af06c00b918d --- /dev/null +++ b/net-misc/netkit-rwho/files/netkit-rwho-0.17-rc @@ -0,0 +1,17 @@ +#!/sbin/openrc-run + +depend() { + need net +} + +start() { + ebegin "Starting rwhod" + /sbin/start-stop-daemon --start --quiet --exec /usr/sbin/rwhod -- $RWHOD_OPTIONS + eend $? +} + +stop() { + ebegin "Stopping rwhod" + /sbin/start-stop-daemon --stop --quiet --name rwhod + eend $? +} -- cgit v1.2.3