summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@gentoo.org>2007-04-30 21:00:47 +0000
committerGunnar Wrobel <wrobel@gentoo.org>2007-04-30 21:00:47 +0000
commit9e23314c6c80e8834fd1a71e60a3ce238844b0e3 (patch)
tree9424cd778fbd1c925075b47a869b7455567c06fb /net-news/nntprss/files/nntprss-init
parentRemoved experimental octopussy ebuild. the tool is too bloated. (diff)
downloadoverlay-9e23314c6c80e8834fd1a71e60a3ce238844b0e3.tar.gz
overlay-9e23314c6c80e8834fd1a71e60a3ce238844b0e3.tar.bz2
overlay-9e23314c6c80e8834fd1a71e60a3ce238844b0e3.zip
Added nntprss to the stable overlay. Still using this tool successfully.
svn path=/stable/; revision=804
Diffstat (limited to 'net-news/nntprss/files/nntprss-init')
-rwxr-xr-xnet-news/nntprss/files/nntprss-init15
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..2d1d90b
--- /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 --quiet --exec /usr/sbin/nntprss
+ eend $?
+}