summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-www/wwwoffle/files/wwwoffled')
-rw-r--r--net-www/wwwoffle/files/wwwoffled24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-www/wwwoffle/files/wwwoffled b/net-www/wwwoffle/files/wwwoffled
new file mode 100644
index 000000000000..e5927c612943
--- /dev/null
+++ b/net-www/wwwoffle/files/wwwoffled
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/files/wwwoffled,v 1.4 2002/03/26 12:48:38 danarmak Exp $
+
+EXE=`which wwwoffled`
+
+depend() {
+ need localmount
+}
+
+start() {
+ ebegin "Starting wwwoffled"
+ start-stop-daemon --start --quiet --exec $EXE \
+ -- -c /var/spool/wwwoffle/wwwoffle.conf
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping wwwoffled"
+ start-stop-daemon --stop --quiet --exec $EXE
+ eend $?
+}
+