![kueller](/assets/img/avatar_default.png)
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_mysql@6213 504e572c-2e33-0410-9681-be2bf7408885
17 lines
377 B
Plaintext
17 lines
377 B
Plaintext
description "Startup MySQL DAtabase"
|
|
author "Harald Kueller <harald.kueller@compuextreme.de>"
|
|
version 1.0
|
|
emits none special
|
|
|
|
start on (runlevel [2345] and (started ifup))
|
|
stop on runlevel [016]
|
|
|
|
console none
|
|
|
|
script
|
|
source /etc/init/functions
|
|
source /etc/sysconfig/profile.d/MySQL
|
|
/sbin/CheckPid /var/run/mysql.pid
|
|
su - mysql -c "/opt/MySQL/bin/mysqld_safe"
|
|
end script
|