[Initng-svn] r2985 - initng/initfiles/daemon
svn at initng.thinktux.net
svn at initng.thinktux.net
Sat Feb 11 14:26:23 CET 2006
Author: makomk
Date: Sat Feb 11 14:26:23 2006
New Revision: 2985
Modified:
initng/initfiles/daemon/mysql.ii
Log:
Reverse some changes in mysql.ii that I never meant to check in
Modified: initng/initfiles/daemon/mysql.ii
==============================================================================
--- initng/initfiles/daemon/mysql.ii (original)
+++ initng/initfiles/daemon/mysql.ii Sat Feb 11 14:26:23 2006
@@ -21,9 +21,9 @@
}
daemon daemon/mysql {
- need = system/bootmisc net/lo;
+ need = system/bootmisc;
use = daemon/mysql/initdb;
-# require_network;
+ require_network;
#ifd fedora
exec daemon = @/usr/bin/mysqld_safe@ --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid;
#elsed
@@ -32,4 +32,10 @@
exec daemon = @/usr/bin/mysqld_safe@ --pid-file=/var/run/mysqld/mysqld.pid;
#endd
pid_file = /var/run/mysqld/mysqld.pid;
+ script kill = {
+ # Neccesary for mysqld to stop (we have to send the
+ # SIGKILL to mysqld itself, but initng has the PID
+ # of mysqld_safe - it has to for various reasons)
+ kill `cat /var/run/mysqld/mysqld.pid`
+ }
}
More information about the Initng-svn
mailing list