diff options
Diffstat (limited to 'net-news/nntprss/files/nntprss-init')
-rwxr-xr-x | net-news/nntprss/files/nntprss-init | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/net-news/nntprss/files/nntprss-init b/net-news/nntprss/files/nntprss-init new file mode 100755 index 0000000..890e736 --- /dev/null +++ b/net-news/nntprss/files/nntprss-init @@ -0,0 +1,15 @@ +#!/sbin/runscript +# Copyright 2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 + +start() { + ebegin "Starting nntp//rss" + start-stop-daemon --start --background --quiet --exec /usr/sbin/nntprss + eend $? +} + +stop() { + ebegin "Stopping nntp//rss" + start-stop-daemon --stop --background --quiet --exec /usr/sbin/nntprss + eend $? +} |