aboutsummaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-10-02 11:05:31 +0200
committerLudovic Courtès <ludo@gnu.org>2023-10-02 11:07:14 +0200
commit3b71b2dca78c3df3bb6cc952c0911293359a4247 (patch)
treec74449af94a410c3d586e0c57ac2e80488d7ff1a /gnu/services
parent47d0346553fdad9795c9390a60944ccaad7e5255 (diff)
downloadguix-3b71b2dca78c3df3bb6cc952c0911293359a4247.tar.gz
guix-3b71b2dca78c3df3bb6cc952c0911293359a4247.zip
gnu: cuirass: Update to 797b26a.
* gnu/packages/ci.scm (cuirass): Update to 797b26a. * gnu/services/cuirass.scm (cuirass-activation): Create /var/run/cuirass.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/cuirass.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/services/cuirass.scm b/gnu/services/cuirass.scm
index 43b0e0946e..71787a85e6 100644
--- a/gnu/services/cuirass.scm
+++ b/gnu/services/cuirass.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2016 Mathieu Lirzin <mthl@gnu.org>
-;;; Copyright © 2016-2022 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016-2023 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2017, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
;;; Copyright © 2017 Jan Nieuwenhuizen <janneke@gnu.org>
;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
@@ -274,6 +274,9 @@
(cuirass-remote-server-configuration-cache
remote-server)))
(user (cuirass-configuration-user config))
+ ;; RUNSTATEDIR contains the "bridge" Unix-domain socket that 'cuirass
+ ;; web' connects to to communicate with 'cuirass register'.
+ (runstatedir "/var/run/cuirass")
(log "/var/log/cuirass")
(profile (string-append "/var/guix/profiles/per-user/" user))
(roots (string-append profile "/cuirass"))
@@ -285,6 +288,7 @@
(mkdir-p #$cache)
(mkdir-p #$log)
(mkdir-p #$roots)
+ (mkdir-p #$runstatedir)
(when #$remote-cache
(mkdir-p #$remote-cache))
@@ -295,6 +299,8 @@
(chown #$log uid gid)
(chown #$roots uid gid)
(chown #$profile uid gid)
+ (chown #$runstatedir uid gid)
+ (chmod #$runstatedir #o700)
(when #$remote-cache
(chown #$remote-cache uid gid)))))))