From b6175db4642e9b53db0ae922337574ac5013ea4b Mon Sep 17 00:00:00 2001 From: "lenz@mysql.com" <> Date: Wed, 27 Nov 2002 22:57:17 +0100 Subject: - Moved the init script from /etc/rc.d/init.d to /etc/init.d for better compatibility of the RPMs - added "restart" action to the mysql.server init script --- support-files/mysql.server.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'support-files/mysql.server.sh') diff --git a/support-files/mysql.server.sh b/support-files/mysql.server.sh index 822e864dd77..a6468997b0f 100644 --- a/support-files/mysql.server.sh +++ b/support-files/mysql.server.sh @@ -173,9 +173,16 @@ case "$mode" in fi ;; + 'restart') + # Stop the service and regardless of whether it was + # running or not, start it again. + $0 stop + $0 start + ;; + *) # usage - echo "usage: $0 start|stop" + echo "Usage: $0 start|stop|restart" exit 1 ;; esac -- cgit v1.2.1