summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-04-21 16:06:53 +0200
committerLudovic Courtès <ludo@gnu.org>2020-04-21 16:33:21 +0200
commite3358a831e7d5d9e8dc614340e49ea5aeb11a7ff (patch)
tree5f599d1d73ec40a44dcdd015301217f78adca9e2 /gnu/services
parentaa7b3c6c0ecf7e27f0f6785908aa11e2268fa386 (diff)
downloadguix-e3358a831e7d5d9e8dc614340e49ea5aeb11a7ff.tar.gz
gnu: shepherd: Update to 0.8.0.
* gnu/packages/admin.scm (shepherd): Update to 0.8.0.
* gnu/services/shepherd.scm (shepherd-configuration-file): Use
'default-pid-file-timeout' instead of fiddling with '%pid-file-timeout'.
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/shepherd.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm
index e99458da43..2f30c6c907 100644
--- a/gnu/services/shepherd.scm
+++ b/gnu/services/shepherd.scm
@@ -297,8 +297,7 @@ and return the resulting '.go' file."
           ;; everything slow.  Thus, increase the timeout compared to the
           ;; default 5s in the Shepherd 0.7.0.  See
           ;; <https://bugs.gnu.org/40572>.
-          ;; XXX: Use something better when the next Shepherd is out.
-          (set! (@@ (shepherd service) %pid-file-timeout) 30)
+          (default-pid-file-timeout 30)
 
           ;; Arrange to spawn a REPL if something goes wrong.  This is better
           ;; than a kernel panic.