mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix startup script and bump PORTREVISION.
PR: ports/153296 [1] Submitted by: Steve Wills <steve@mouf.net> [1], dougb Lesson learned: Two identical PRs don't make a good patch.
This commit is contained in:
parent
a171fc3185
commit
87c875c263
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=266631
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME?= mysql
|
||||
PORTVERSION= 5.1.54
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= databases
|
||||
MASTER_SITES= ${MASTER_SITE_MYSQL}
|
||||
MASTER_SITE_SUBDIR= MySQL-5.1
|
||||
|
@ -32,13 +32,12 @@ load_rc_config $name
|
||||
: ${mysql_enable="NO"}
|
||||
: ${mysql_limits="NO"}
|
||||
: ${mysql_dbdir="/var/db/mysql"}
|
||||
: ${mysql_pidfile="${mysql_dbdir}/`/bin/hostname`.pid"}
|
||||
: ${mysql_args=""}
|
||||
|
||||
mysql_user="mysql"
|
||||
mysql_limits_args="-e -U ${mysql_user}"
|
||||
pidfile=${mysql_pidfile:-"${mysql_dbdir}/`/bin/hostname`.pid"}
|
||||
command="/usr/sbin/daemon"
|
||||
command_args="-c -f %%PREFIX%%/bin/mysqld_safe --defaults-extra-file=${mysql_dbdir}/my.cnf --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${mysql_pidfile} ${mysql_args}"
|
||||
command_args="-c -f %%PREFIX%%/bin/mysqld_safe --defaults-extra-file=${mysql_dbdir}/my.cnf --user=${mysql_user} --datadir=${mysql_dbdir} --pid-file=${pidfile} ${mysql_args}"
|
||||
procname="%%PREFIX%%/libexec/mysqld"
|
||||
start_precmd="${name}_prestart"
|
||||
start_postcmd="${name}_poststart"
|
||||
|
Loading…
Reference in New Issue
Block a user