From 45061dd21116aa2ec53ee7203fd28df268c82d35 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Wed, 28 Jun 2023 20:30:48 +0800 Subject: [PATCH] services: qbittorrent: Increase Shepherd grace period. * rosenthal/services/bittorrent.scm (qbittorrent-shepherd-service): [start]: Remove #:environment-variables. [stop]: Add #:grace-period. --- rosenthal/services/bittorrent.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/rosenthal/services/bittorrent.scm b/rosenthal/services/bittorrent.scm index 1e8f9b7..b674303 100644 --- a/rosenthal/services/bittorrent.scm +++ b/rosenthal/services/bittorrent.scm @@ -71,9 +71,8 @@ #$@extra-options) #:user "qbittorrent" #:group "qbittorrent" - #:log-file #$log-file - #:environment-variables '("QBT_ACCEPTED=true"))) - (stop #~(make-kill-destructor))))))) + #:log-file #$log-file)) + (stop #~(make-kill-destructor #:grace-period 1800))))))) (define qbittorrent-service-type (service-type