From 356e06bd5130b9ece345079cd442e39105664447 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Thu, 7 Dec 2023 13:08:13 +0800 Subject: [PATCH] services: qbittorrent: Remove log-file option. * rosenthal/services/bittorrent.scm (qbittorrent-configuration)[log-file]: Delete field. (qbittorrent-activation,qbittorrent-shepherd-service): Adjust accordingly. --- rosenthal/services/bittorrent.scm | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rosenthal/services/bittorrent.scm b/rosenthal/services/bittorrent.scm index 2b8b968..3ef0306 100644 --- a/rosenthal/services/bittorrent.scm +++ b/rosenthal/services/bittorrent.scm @@ -23,9 +23,6 @@ (qbittorrent (file-like qbittorrent-nox) "The qBittorrent package to use, we need @command{qbittorrent-nox}.") - (log-file - (string "/var/log/qbittorrent.log") - "Where the logs go.") (webui-port (integer 8080) "Change the Web UI port.") @@ -49,7 +46,7 @@ (define qbittorrent-activation (match-record-lambda - (qbittorrent log-file webui-port profile-directory extra-options) + (qbittorrent webui-port profile-directory extra-options) #~(begin (use-modules (guix build utils)) (let ((profile-directory #$profile-directory) @@ -59,7 +56,7 @@ (define qbittorrent-shepherd-service (match-record-lambda - (qbittorrent log-file webui-port profile-directory extra-options) + (qbittorrent webui-port profile-directory extra-options) (list (shepherd-service (documentation "Run qbittorrent.") (provision '(qbittorrent)) @@ -72,7 +69,6 @@ #$@extra-options) #:user "qbittorrent" #:group "qbittorrent" - #:log-file #$log-file #:resource-limits '((nofile 65536 65536)))) (stop #~(make-kill-destructor #:grace-period 1800))))))