From e4a74f38dfd43b7bfcef5605eb2bf751bfc53102 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sat, 29 Oct 2022 21:46:14 +0200 Subject: services: mysql-upgrade: Add log file. * gnu/services/databases.scm (mysql-upgrade-shepherd-service)[start]: Pass #:log-file. --- gnu/services/databases.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnu/services/databases.scm b/gnu/services/databases.scm index 96504a27ea..57afd1dc7c 100644 --- a/gnu/services/databases.scm +++ b/gnu/services/databases.scm @@ -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) -- cgit 1.4.1