diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2001-12-23 23:25:19 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2001-12-23 23:25:19 +0000 |
commit | 787d633b98b304c23ca51cfe761e6581986c3bbc (patch) | |
tree | d8c7bd945fd887420b3fdcad4bdb04138d17a520 /net-www/wwwoffle | |
parent | remove a dodir /etc/rc.d/, as it is no longer in use (diff) | |
download | historical-787d633b98b304c23ca51cfe761e6581986c3bbc.tar.gz historical-787d633b98b304c23ca51cfe761e6581986c3bbc.tar.bz2 historical-787d633b98b304c23ca51cfe761e6581986c3bbc.zip |
moved rc-script config settings to /etc/conf.d
Diffstat (limited to 'net-www/wwwoffle')
-rw-r--r-- | net-www/wwwoffle/files/wwwoffled-online | 6 | ||||
-rw-r--r-- | net-www/wwwoffle/files/wwwoffled.rc6 | 18 |
2 files changed, 12 insertions, 12 deletions
diff --git a/net-www/wwwoffle/files/wwwoffled-online b/net-www/wwwoffle/files/wwwoffled-online index dddd467ef7a7..8c2dfb927520 100644 --- a/net-www/wwwoffle/files/wwwoffled-online +++ b/net-www/wwwoffle/files/wwwoffled-online @@ -1,7 +1,7 @@ #!/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-online,v 1.2 2001/12/06 20:17:02 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/files/wwwoffled-online,v 1.3 2001/12/23 23:25:19 azarah Exp $ depend() { need wwwoffled net @@ -10,12 +10,12 @@ depend() { start() { ebegin "Starting wwwoffled-online" wwwoffle -online - eend $? "Started wwwoffled-online." "Error starting wwwoffled-online." + eend $? } stop() { ebegin "Stopping wwwoffled-online" wwwoffle -offline - eend $? "Stopped wwwoffled-online." "Error stopping wwwoffled-online." + eend $? } diff --git a/net-www/wwwoffle/files/wwwoffled.rc6 b/net-www/wwwoffle/files/wwwoffled.rc6 index 19305b6f7c5b..3e1a26bbf4bf 100644 --- a/net-www/wwwoffle/files/wwwoffled.rc6 +++ b/net-www/wwwoffle/files/wwwoffled.rc6 @@ -1,24 +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.rc6,v 1.2 2001/12/06 20:17:02 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-www/wwwoffle/files/wwwoffled.rc6,v 1.3 2001/12/23 23:25:19 azarah Exp $ EXE=`which wwwoffled` -SERVICE='wwwoffled' depend() { - need localmount + need localmount } start() { - ebegin "Starting $SERVICE" - start-stop-daemon --start --quiet --exec $EXE -- -c /var/spool/wwwoffle/wwwoffle.conf - eend $? "Started $SERVICE." "Error starting $SERVICE." + ebegin "Starting wwwoffled" + start-stop-daemon --start --quiet --exec $EXE \ + -- -c /var/spool/wwwoffle/wwwoffle.conf + eend $? } stop() { - ebegin "Stopping $SERVICE" - start-stop-daemon --stop --quiet --exec $EXE - eend $? "Stopped $SERVICE." "Error stopping $SERVICE." + ebegin "Stopping wwwoffled" + start-stop-daemon --stop --quiet --exec $EXE + eend $? } |