summary refs log tree commit diff
path: root/gnu/services/databases.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2022-10-29 21:46:14 +0200
committerMarius Bakke <marius@gnu.org>2022-11-20 17:54:05 +0100
commite4a74f38dfd43b7bfcef5605eb2bf751bfc53102 (patch)
tree2f662108835381fe63184e904b98a6ceb054049d /gnu/services/databases.scm
parent6ac97bb5035ae10ed8ae39b7dbfbf60030dad4d8 (diff)
downloadguix-e4a74f38dfd43b7bfcef5605eb2bf751bfc53102.tar.gz
services: mysql-upgrade: Add log file.
* gnu/services/databases.scm (mysql-upgrade-shepherd-service)[start]: Pass
 #:log-file.
Diffstat (limited to 'gnu/services/databases.scm')
-rw-r--r--gnu/services/databases.scm4
1 files 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)