diff options
Diffstat (limited to 'databases/mysql4-server')
-rw-r--r-- | databases/mysql4-server/files/mysqld.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/databases/mysql4-server/files/mysqld.sh b/databases/mysql4-server/files/mysqld.sh index ee3222567dd..5321a1d6be3 100644 --- a/databases/mysql4-server/files/mysqld.sh +++ b/databases/mysql4-server/files/mysqld.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: mysqld.sh,v 1.3 2005/10/03 14:24:30 xtraeme Exp $ +# $NetBSD: mysqld.sh,v 1.4 2005/10/03 14:34:48 xtraeme Exp $ # # PROVIDE: mysqld # REQUIRE: DAEMON LOGIN mountall @@ -26,7 +26,7 @@ command="@PREFIX@/bin/mysqld_safe" procname="@PREFIX@/libexec/${name}" : ${mysqld_user:=@MYSQL_USER@} : ${mysqld_group:=@MYSQL_GROUP@} -: ${mysqld_datadir=@MYSQL_DATADIR@} +: ${mysqld_datadir:=@MYSQL_DATADIR@} pidfile="${mysqld_datadir}/`@HOSTNAME_CMD@`.pid" extra_commands="initdb" |