Skip to content

Commit

Permalink
Adds start, stop and restart of mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremiahsmall committed Sep 21, 2012
1 parent 2e97364 commit cd4c71a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Library/StartupItems/ZendServer_init/zendctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ case $1 in
$ECHO_CMD "Starting $PRODUCT_NAME $PRODUCT_VERSION ..\n"
$0 start-zdd %
$0 start-monitor-node
$MYSQL_EN && $0 start-mysql %
$0 start-apache %
$0 start-lighttpd %
$JB_EN && $0 start-jb %
Expand All @@ -56,6 +57,7 @@ case $1 in
$0 restart-zdd
$0 restart-monitor-node
$0 restart-apache
$0 restart-mysql
$0 restart-lighttpd
$0 restart-jb
$0 restart-jqd
Expand Down Expand Up @@ -99,6 +101,7 @@ case $1 in
$ZCE_PREFIX/bin/clean_semaphores.sh
$0 stop-lighttpd %
$JB_EN && $0 stop-jb %
$MYSQL_EN && $0 stop-mysql
$0 stop-jqd %
$0 stop-zdd %
$0 stop-monitor-node %
Expand Down
3 changes: 3 additions & 0 deletions usr/local/zend/bin/zendctl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ case $1 in
$ECHO_CMD "Starting $PRODUCT_NAME $PRODUCT_VERSION ..\n"
$0 start-zdd %
$0 start-monitor-node
$MYSQL_EN && $0 start-mysql %
$0 start-apache %
$0 start-lighttpd %
$JB_EN && $0 start-jb %
Expand All @@ -56,6 +57,7 @@ case $1 in
$0 restart-zdd
$0 restart-monitor-node
$0 restart-apache
$0 restart-mysql
$0 restart-lighttpd
$0 restart-jb
$0 restart-jqd
Expand Down Expand Up @@ -99,6 +101,7 @@ case $1 in
$ZCE_PREFIX/bin/clean_semaphores.sh
$0 stop-lighttpd %
$JB_EN && $0 stop-jb %
$MYSQL_EN && $0 stop-mysql
$0 stop-jqd %
$0 stop-zdd %
$0 stop-monitor-node %
Expand Down

0 comments on commit cd4c71a

Please sign in to comment.