diff options
| -rw-r--r-- | gnu/services/shepherd.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/services/shepherd.scm b/gnu/services/shepherd.scm index bad089844d0..9906ae43c48 100644 --- a/gnu/services/shepherd.scm +++ b/gnu/services/shepherd.scm | |||
| @@ -291,6 +291,13 @@ and return the resulting '.go' file." | |||
| 291 | (default-environment-variables | 291 | (default-environment-variables |
| 292 | '("PATH=/run/current-system/profile/bin")) | 292 | '("PATH=/run/current-system/profile/bin")) |
| 293 | 293 | ||
| 294 | ;; Booting off a DVD, especially on a slow machine, can make | ||
| 295 | ;; everything slow. Thus, increase the timeout compared to the | ||
| 296 | ;; default 5s in the Shepherd 0.7.0. See | ||
| 297 | ;; <https://bugs.gnu.org/40572>. | ||
| 298 | ;; XXX: Use something better when the next Shepherd is out. | ||
| 299 | (set! (@@ (shepherd service) %pid-file-timeout) 30) | ||
| 300 | |||
| 294 | ;; Arrange to spawn a REPL if something goes wrong. This is better | 301 | ;; Arrange to spawn a REPL if something goes wrong. This is better |
| 295 | ;; than a kernel panic. | 302 | ;; than a kernel panic. |
| 296 | (call-with-error-handling | 303 | (call-with-error-handling |
