2010-04-20 18:25:31 +00:00
|
|
|
description "Startup MySQL DAtabase"
|
|
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
|
|
version 1.0
|
|
|
|
emits none special
|
|
|
|
|
|
|
|
start on (runlevel [2345] and (started ifup))
|
2010-06-23 10:16:49 +00:00
|
|
|
stop on runlevel [016]
|
2010-04-20 18:25:31 +00:00
|
|
|
|
|
|
|
console none
|
|
|
|
|
|
|
|
script
|
|
|
|
source /etc/init/functions
|
|
|
|
source /etc/sysconfig/profile.d/MySQL
|
|
|
|
su - mysql -c "/opt/MySQL/bin/mysqld_safe"
|
|
|
|
end script
|