adjust sample rc.local lines to start the server after printing
the name, as is normal with other ports and daemons started from /etc/rc, from jcs via Brad.
This commit is contained in:
parent
3a07e0b89d
commit
4e93b1a2c3
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.162 2010/03/21 01:20:47 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.163 2010/03/21 09:04:10 sthen Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
@ -9,7 +9,7 @@ COMMENT-tests= multithreaded SQL database (regression test suite/benchmark)
|
||||
VERSION= 5.1.45
|
||||
DISTNAME= mysql-${VERSION}
|
||||
PKGNAME-main= mysql-client-${VERSION}
|
||||
PKGNAME-server= mysql-server-${VERSION}
|
||||
PKGNAME-server= mysql-server-${VERSION}p0
|
||||
PKGNAME-tests= mysql-tests-${VERSION}
|
||||
CATEGORIES= databases
|
||||
V= MySQL-5.1
|
||||
|
@ -26,8 +26,8 @@ Rebuild the login.conf.db file if necessary:
|
||||
And start the server like this:
|
||||
|
||||
if [ -x ${TRUEPREFIX}/bin/mysqld_safe ] ; then
|
||||
su -c mysql root -c '${TRUEPREFIX}/bin/mysqld_safe >/dev/null 2>&1 &'
|
||||
echo -n ' mysql'
|
||||
su -c mysql root -c '${TRUEPREFIX}/bin/mysqld_safe >/dev/null 2>&1 &'
|
||||
fi
|
||||
|
||||
mysqld_safe(1) is the recommended way to start a MySQL server,
|
||||
|
Loading…
x
Reference in New Issue
Block a user