services: cuirass: Do not create the database directory.

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.
This commit is contained in:
Mathieu Othacehe 2021-03-09 17:04:27 +01:00
parent ff52d1156c
commit 0be2474d42
No known key found for this signature in database
GPG Key ID: 8354763531769CA6

View File

@ -280,8 +280,6 @@
(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)))
@ -290,7 +288,6 @@
(use-modules (guix build utils))
(mkdir-p #$cache)
(mkdir-p #$db)
(mkdir-p #$log)
(when #$remote-cache
@ -299,7 +296,6 @@
(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