services: mysql-upgrade: Add log file.
* gnu/services/databases.scm (mysql-upgrade-shepherd-service)[start]: Pass #:log-file.
This commit is contained in:
		
							parent
							
								
									6ac97bb503
								
							
						
					
					
						commit
						e4a74f38df
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -717,8 +717,8 @@ FLUSH PRIVILEGES;
 | 
			
		|||
         (documentation "Upgrade MySQL database schemas.")
 | 
			
		||||
         (start #~(make-forkexec-constructor
 | 
			
		||||
                   (list #$(mysql-upgrade-wrapper config))
 | 
			
		||||
                   #:user "mysql" #:group "mysql")))))
 | 
			
		||||
 | 
			
		||||
                   #:user "mysql" #:group "mysql"
 | 
			
		||||
                   #:log-file "/var/log/mysql_upgrade.log")))))
 | 
			
		||||
 | 
			
		||||
(define (mysql-shepherd-services config)
 | 
			
		||||
  (let ((min-services (append (mysql-install-shepherd-service config)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue