diff options
author | Marius Mathiesen <marius@gitorious.org> | 2012-07-10 06:51:04 (GMT) |
---|---|---|
committer | Marius Mathiesen <marius@gitorious.org> | 2012-07-10 06:51:04 (GMT) |
commit | e41a5d0b0d640dc1b16dd104b525573c371c8882 (patch) | |
tree | 9090894e16a6caf159a6745a1a0ed5554f992cfc /doc | |
parent | befd9ff9fdced6a7f55bc49824cb4f0067d3763b (diff) | |
parent | 4e46aa2992afe3010ace20505ac2f1eb01ef9b49 (diff) |
Merge commit 'refs/merge-requests/204' of gitorious.org:gitorious/mainline
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/templates/centos/git-daemon | 6 | ||||
-rwxr-xr-x | doc/templates/centos/git-poller | 6 | ||||
-rwxr-xr-x | doc/templates/centos/stomp | 6 |
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 |