services: cuirass: Do not create the database directory.
authorMathieu Othacehe <othacehe@gnu.org>
Tue, 9 Mar 2021 16:04:27 +0000 (17:04 +0100)
committerMathieu Othacehe <othacehe@gnu.org>
Wed, 10 Mar 2021 07:49:48 +0000 (08:49 +0100)
Fixes: <https://issues.guix.gnu.org/46683>.

* gnu/services/cuirass.scm (cuirass-activation): Since the PostgreSQL switch,
it is no longer needed to create the database directory.

gnu/services/cuirass.scm

index 4d5e3a1..dae8951 100644 (file)
          (remote-cache   (and remote-server
                               (cuirass-remote-server-configuration-cache
                                remote-server)))
-         (db             (dirname
-                          (cuirass-configuration-database config)))
          (user           (cuirass-configuration-user config))
          (log            "/var/log/cuirass")
          (group          (cuirass-configuration-group config)))
           (use-modules (guix build utils))
 
           (mkdir-p #$cache)
-          (mkdir-p #$db)
           (mkdir-p #$log)
 
           (when #$remote-cache
           (let ((uid (passwd:uid (getpw #$user)))
                 (gid (group:gid (getgr #$group))))
             (chown #$cache uid gid)
-            (chown #$db uid gid)
             (chown #$log uid gid)
 
             (when #$remote-cache