initial commit of a *whole bunch* of old Egressive shell scripts, used to make many people redundant.

This commit is contained in:
Dave Lane 2016-03-16 13:43:31 +13:00
commit 43e0f5b59e
329 changed files with 31937 additions and 0 deletions

32
eginit.d/mysql-multi Executable file
View file

@ -0,0 +1,32 @@
#!/bin/sh
#
# MySQL Multi server start/stop script
#
MYSQL_MULTI="/usr/bin/mysqld_multi --config-file=/root/my_multi.cnf"
SELF=$(cd $(dirname $0); pwd -P)/$(basename $0)
case "${1:-''}" in
'start')
$MYSQL_MULTI start
;;
'stop')
$MYSQL_MULTI stop
;;
'restart')
set +e; $SELF stop; set -e
$SELF start
;;
'status')
$MYSQL_MULTI report
;;
*)
echo "Usage: $SELF start|stop|restart"
exit 1
;;
esac