Absolut path for default value for pid file and error log
This commit is contained in:
parent
842d2220fe
commit
088c1e447f
@ -1110,6 +1110,7 @@ fi
|
||||
%changelog
|
||||
* Mon Jul 28 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-6
|
||||
- Use explicit sysconfdir
|
||||
- Absolut path for default value for pid file and error log
|
||||
|
||||
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-5
|
||||
- Hardcoded paths removed to work fine in chroot
|
||||
|
@ -48,11 +48,11 @@ datadir="$result"
|
||||
# log-error might be defined in mysqld_safe and mysqld sections,
|
||||
# the former has bigger priority
|
||||
get_mysql_option "$server_sections" log-error "`hostname`.err"
|
||||
errlogfile="$result"
|
||||
errlogfile="$datadir/$result"
|
||||
|
||||
get_mysql_option "$server_sections" socket "@MYSQL_UNIX_ADDR@"
|
||||
socketfile="$result"
|
||||
|
||||
get_mysql_option "$server_sections" pid-file "`hostname`.pid"
|
||||
pidfile="$result"
|
||||
pidfile="$datadir/$result"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user