Fix logrotate comments
Add PR URL
This commit is contained in:
		
							parent
							
								
									ed2eba3105
								
							
						
					
					
						commit
						fb947d868c
					
				| @ -24,6 +24,7 @@ Update 3/2017 | ||||
| Update 6/2018 | ||||
| * the SIGHUP causes server to flush all logs. No password admin needed, the only constraint is | ||||
|   beeing able to send the SIGHUP to the process and read the mysqld pid file, which root can. | ||||
| * Submited as PR: https://github.com/MariaDB/server/pull/807 | ||||
| 
 | ||||
| --- mariadb-10.3.7/support-files/mysql-log-rotate.sh	2018-05-23 22:38:46.000000000 +0200
 | ||||
| +++ mariadb-10.3.7/support-files/mysql-log-rotate.sh_patched	2018-06-27 12:11:23.705719826 +0200
 | ||||
| @ -31,7 +32,7 @@ Update 6/2018 | ||||
|  # This logname can be set in /etc/my.cnf | ||||
|  # by setting the variable "err-log" | ||||
| -# in the [safe_mysqld] section as follows:
 | ||||
| +# in the [mysqld_safe] section as follows:
 | ||||
| +# in the [mysqld] section as follows:
 | ||||
|  # | ||||
| -# [safe_mysqld]
 | ||||
| -# err-log=@localstatedir@/mysqld.log
 | ||||
| @ -48,8 +49,8 @@ Update 6/2018 | ||||
| -#
 | ||||
| -# ATTENTION: This /root/.my.cnf should be readable ONLY
 | ||||
| -# for root !
 | ||||
| +# [mysqld_safe]
 | ||||
| +# log-error=@LOG_LOCATION@
 | ||||
| +# [mysqld]
 | ||||
| +# log_error=@LOG_LOCATION@
 | ||||
|   | ||||
| -@localstatedir@/mysqld.log {
 | ||||
| -        # create 600 mysql mysql
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user