From 0be2474d42990871170578e3a14a2e6b548157bd Mon Sep 17 00:00:00 2001 From: Mathieu Othacehe Date: Tue, 9 Mar 2021 17:04:27 +0100 Subject: services: cuirass: Do not create the database directory. Fixes: . * gnu/services/cuirass.scm (cuirass-activation): Since the PostgreSQL switch, it is no longer needed to create the database directory. --- gnu/services/cuirass.scm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'gnu/services') 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 @@ (define (cuirass-activation config) (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 @@ (define (cuirass-activation config) (use-modules (guix build utils)) (mkdir-p #$cache) - (mkdir-p #$db) (mkdir-p #$log) (when #$remote-cache @@ -299,7 +296,6 @@ (define (cuirass-activation config) (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 -- cgit v1.2.3