Magellan Linux

Diff of /trunk/git/git-daemon.rc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 523 by niro, Mon Mar 24 01:27:39 2008 UTC revision 1514 by niro, Thu Sep 1 17:16:32 2011 UTC
# Line 16  source /etc/conf.d/git-daemon Line 16  source /etc/conf.d/git-daemon
16    
17  case "$1" in  case "$1" in
18   start)   start)
19   echo -e ${COLOREDSTAR}"Starting git daemon ..."   rc_print "Starting git daemon ..."
20   start-stop-daemon --start --quiet --background --exec /usr/bin/git-daemon -- ${GITDAEMON_OPTS}   start-stop-daemon --start --quiet --background --exec /usr/bin/git-daemon -- ${GITDAEMON_OPTS}
21   evaluate_retval   evaluate_retval
22    
# Line 25  case "$1" in Line 25  case "$1" in
25   ;;   ;;
26    
27   stop)   stop)
28   echo -e ${COLOREDSTAR}"Stopping git daemon ..."   rc_print "Stopping git daemon ..."
29   start-stop-daemon --stop --quiet --name git-daemon   start-stop-daemon --stop --quiet --name git-daemon
30   evaluate_retval   evaluate_retval
31    
# Line 44  case "$1" in Line 44  case "$1" in
44   ;;   ;;
45    
46   *)   *)
47   echo "Usage: $0 {start|stop|restart|status}"   rc_echo "Usage: $0 {start|stop|restart|status}"
48   exit 1   exit 1
49   ;;   ;;
50  esac  esac

Legend:
Removed from v.523  
changed lines
  Added in v.1514