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'.master
parent
aa7b3c6c0e
commit
e3358a831e
|
@ -199,14 +199,14 @@ and provides a \"top-like\" mode (monitoring).")
|
||||||
(define-public shepherd
|
(define-public shepherd
|
||||||
(package
|
(package
|
||||||
(name "shepherd")
|
(name "shepherd")
|
||||||
(version "0.7.0")
|
(version "0.8.0")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append "mirror://gnu/shepherd/shepherd-"
|
(uri (string-append "mirror://gnu/shepherd/shepherd-"
|
||||||
version ".tar.gz"))
|
version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"07j3vd0y8zab2nwbrwj0ahrfif1ldm5sjssn7m3dw4s307fsrfzx"))))
|
"02lbc8z5gd8v8wfi4yh1zww8mk03w0zcwnmk4l4p3vpjlvlb63ll"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
'(#:configure-flags '("--localstatedir=/var")))
|
'(#:configure-flags '("--localstatedir=/var")))
|
||||||
|
|
|
@ -297,8 +297,7 @@ and return the resulting '.go' file."
|
||||||
;; everything slow. Thus, increase the timeout compared to the
|
;; everything slow. Thus, increase the timeout compared to the
|
||||||
;; default 5s in the Shepherd 0.7.0. See
|
;; default 5s in the Shepherd 0.7.0. See
|
||||||
;; <https://bugs.gnu.org/40572>.
|
;; <https://bugs.gnu.org/40572>.
|
||||||
;; XXX: Use something better when the next Shepherd is out.
|
(default-pid-file-timeout 30)
|
||||||
(set! (@@ (shepherd service) %pid-file-timeout) 30)
|
|
||||||
|
|
||||||
;; Arrange to spawn a REPL if something goes wrong. This is better
|
;; Arrange to spawn a REPL if something goes wrong. This is better
|
||||||
;; than a kernel panic.
|
;; than a kernel panic.
|
||||||
|
|
Reference in New Issue