[Initng-svn] r2968 - initng/initfiles/daemon
svn at initng.thinktux.net
svn at initng.thinktux.net
Tue Feb 7 19:33:27 CET 2006
Author: makomk
Date: Tue Feb 7 19:33:27 2006
New Revision: 2968
Modified:
initng/initfiles/daemon/mysql.ii
Log:
Fix mysql.i (wouldn't start, and wouldn't stop if it was already running)
Modified: initng/initfiles/daemon/mysql.ii
==============================================================================
--- initng/initfiles/daemon/mysql.ii (original)
+++ initng/initfiles/daemon/mysql.ii Tue Feb 7 19:33:27 2006
@@ -21,19 +21,15 @@
}
daemon daemon/mysql {
- need = system/bootmisc;
+ need = system/bootmisc net/lo;
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 gentoo
- exec daemon = @/usr/bin/mysqld_safe@ --pid-file=/var/run/mysqld.pid;
#elsed
+ # WARNING! Do not move pidfile to /var/run/mysqld.pid
+ # WARNING! It doesn't work (at least on MySql 4.1)
exec daemon = @/usr/bin/mysqld_safe@ --pid-file=/var/run/mysqld/mysqld.pid;
#endd
-#ifd gentoo
- pid_file = /var/run/mysqld.pid;
-#elsed
pid_file = /var/run/mysqld/mysqld.pid;
-#endd
}
More information about the Initng-svn
mailing list