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
|
%changelog
|
||||||
* Mon Jul 28 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-6
|
* Mon Jul 28 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-6
|
||||||
- Use explicit sysconfdir
|
- 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
|
* Tue Jul 22 2014 Honza Horak <hhorak@redhat.com> - 1:10.0.12-5
|
||||||
- Hardcoded paths removed to work fine in chroot
|
- 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,
|
# log-error might be defined in mysqld_safe and mysqld sections,
|
||||||
# the former has bigger priority
|
# the former has bigger priority
|
||||||
get_mysql_option "$server_sections" log-error "`hostname`.err"
|
get_mysql_option "$server_sections" log-error "`hostname`.err"
|
||||||
errlogfile="$result"
|
errlogfile="$datadir/$result"
|
||||||
|
|
||||||
get_mysql_option "$server_sections" socket "@MYSQL_UNIX_ADDR@"
|
get_mysql_option "$server_sections" socket "@MYSQL_UNIX_ADDR@"
|
||||||
socketfile="$result"
|
socketfile="$result"
|
||||||
|
|
||||||
get_mysql_option "$server_sections" pid-file "`hostname`.pid"
|
get_mysql_option "$server_sections" pid-file "`hostname`.pid"
|
||||||
pidfile="$result"
|
pidfile="$datadir/$result"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user