services: mysql-upgrade: Add log file.

* gnu/services/databases.scm (mysql-upgrade-shepherd-service)[start]: Pass
 #:log-file.
This commit is contained in:
Marius Bakke 2022-10-29 21:46:14 +02:00
parent 6ac97bb503
commit e4a74f38df
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -717,8 +717,8 @@ (define (mysql-upgrade-shepherd-service config)
(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)