aboutsummaryrefslogtreecommitdiff
path: root/gnu/services/cuirass.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-03-09 17:04:27 +0100
committerMathieu Othacehe <othacehe@gnu.org>2021-03-10 08:49:48 +0100
commit0be2474d42990871170578e3a14a2e6b548157bd (patch)
treee17cf36937982c291ce3bea5e3e07413eb0de65e /gnu/services/cuirass.scm
parentff52d1156c249ce8906972941a92e1816f86e395 (diff)
downloadguix-0be2474d42990871170578e3a14a2e6b548157bd.tar
guix-0be2474d42990871170578e3a14a2e6b548157bd.tar.gz
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.
Diffstat (limited to 'gnu/services/cuirass.scm')
-rw-r--r--gnu/services/cuirass.scm4
1 files changed, 0 insertions, 4 deletions
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm
index 4d5e3a1041..dae895107e 100644
--- a/gnu/services/cuirass.scm
+++ b/gnu/services/cuirass.scm
@@ -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