Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMarius Mathiesen <marius@gitorious.org>2012-07-10 06:51:04 (GMT)
committer Marius Mathiesen <marius@gitorious.org>2012-07-10 06:51:04 (GMT)
commite41a5d0b0d640dc1b16dd104b525573c371c8882 (patch)
tree9090894e16a6caf159a6745a1a0ed5554f992cfc /doc
parentbefd9ff9fdced6a7f55bc49824cb4f0067d3763b (diff)
parent4e46aa2992afe3010ace20505ac2f1eb01ef9b49 (diff)
Merge commit 'refs/merge-requests/204' of gitorious.org:gitorious/mainline
Diffstat (limited to 'doc')
-rwxr-xr-xdoc/templates/centos/git-daemon6
-rwxr-xr-xdoc/templates/centos/git-poller6
-rwxr-xr-xdoc/templates/centos/stomp6
3 files changed, 15 insertions, 3 deletions
diff --git a/doc/templates/centos/git-daemon b/doc/templates/centos/git-daemon
index ac33764..895d70e 100755
--- a/doc/templates/centos/git-daemon
+++ b/doc/templates/centos/git-daemon
@@ -92,8 +92,12 @@ case "$1" in
fi
fi
;;
+ status)
+ status -p $PID_FILE ruby
+ RETVAL=$?
+ ;;
*)
- echo $"Usage: $0 {start|stop|restart|condrestart}"
+ echo $"Usage: $0 {start|stop|restart|condrestart|status}"
RETVAL=1
esac
exit $RETVAL
diff --git a/doc/templates/centos/git-poller b/doc/templates/centos/git-poller
index 5c3f7c5..0f39850 100755
--- a/doc/templates/centos/git-poller
+++ b/doc/templates/centos/git-poller
@@ -99,8 +99,12 @@ start
fi
fi
;;
+ status)
+ status -p $PID_FILE ruby
+ RETVAL=$?
+ ;;
*)
- echo $"Usage: $0 {start|stop|restart|condrestart}"
+ echo $"Usage: $0 {start|stop|restart|condrestart|status}"
RETVAL=1
esac
exit $RETVAL
diff --git a/doc/templates/centos/stomp b/doc/templates/centos/stomp
index 8a74923..66b8965 100755
--- a/doc/templates/centos/stomp
+++ b/doc/templates/centos/stomp
@@ -95,8 +95,12 @@ start
fi
fi
;;
+ status)
+ status -p $PID_FILE stompserver
+ RETVAL=$?
+ ;;
*)
- echo $"Usage: $0 {start|stop|restart|condrestart}"
+ echo $"Usage: $0 {start|stop|restart|condrestart|status}"
RETVAL=1
esac
exit $RETVAL