mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
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:
parent
ff52d1156c
commit
0be2474d42
1 changed files with 0 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue