]> git.pld-linux.org Git - packages/NewsCache.git/commitdiff
- remove remnants from template.init
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 8 Dec 2005 00:41:25 +0000 (00:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    NewsCache.init -> 1.3

NewsCache.init

index b5d3136b05c5a57d856e158b95fe969e9f6dffe2..e5e976186d88695395677c64c65ebc558caf9662 100755 (executable)
@@ -23,7 +23,6 @@
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
        if [ ! -f /var/lock/subsys/network ]; then
-               # nls "ERROR: Networking is down. %s can't be run." newscache
                msg_network_down newscache
                exit 1
        fi
@@ -37,25 +36,21 @@ case "$1" in
   start)
        # Check if the service is already running?
        if [ ! -f /var/lock/subsys/newscache ]; then
-               # show "Starting %s service" newscache
                msg_starting newscache
                daemon newscache
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/newscache
        else
-               # show "%s service is already running." newscache
                msg_already_running newscache
        fi
        ;;
   stop)
        if [ -f /var/lock/subsys/newscache ]; then
                # Stop daemons.
-               # show "Stopping %s service" newscache
                msg_stopping newscache
                killproc newscache
                rm -f /var/lock/subsys/newscache
        else
-               # show "%s service is not running." newscache
                msg_not_running newscache
        fi
        ;;
@@ -66,12 +61,10 @@ case "$1" in
        ;;
   reload)
        if [ -f /var/lock/subsys/newscache ]; then
-               # show "Reload %s service" newscache
                msg_reloading newscache
                killproc newscache -HUP
                RETVAL=$?
        else
-               # show "%s service is not running." newscache
                msg_not_running newscache >&2
                RETVAL=7
        fi
@@ -90,7 +83,6 @@ case "$1" in
        RETVAL=$?
        ;;
   *)
-       # show "Usage: %s {start|stop|restart|reload|force-reload|status}"
        msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
        exit 3
 esac
This page took 0.09431 seconds and 4 git commands to generate.