initng/daemon/mysql.i

glen cvs at pld-linux.org
Tue Jan 3 14:03:33 CET 2006


Author: glen
Date: Tue Jan  3 14:03:31 2006
New Revision: 6732

Modified:
   initng/daemon/mysql.i
Log:
- mysql initscript is damn broken. it exits with error randomly while still bringing up the mysql srevice

Modified: initng/daemon/mysql.i
==============================================================================
--- initng/daemon/mysql.i	(original)
+++ initng/daemon/mysql.i	Tue Jan  3 14:03:31 2006
@@ -2,8 +2,10 @@
 	need = system/initial system/mountfs system/rundir;
 	need = daemon/network;
 
-	exec start = /etc/rc.d/init.d/mysql;
-	exec_args start = start;
+	script start = {
+		/etc/rc.d/init.d/mysql start
+		exit 0
+	}
 	exec stop = /etc/rc.d/init.d/mysql;
 	exec_args stop = stop;
 }


More information about the pld-cvs-commit mailing list