mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-05-25 05:25:05 +00:00
services: qbittorrent: Remove log-file option.
* rosenthal/services/bittorrent.scm (qbittorrent-configuration)[log-file]: Delete field. (qbittorrent-activation,qbittorrent-shepherd-service): Adjust accordingly.
This commit is contained in:
parent
df1b070693
commit
356e06bd51
@ -23,9 +23,6 @@
|
|||||||
(qbittorrent
|
(qbittorrent
|
||||||
(file-like qbittorrent-nox)
|
(file-like qbittorrent-nox)
|
||||||
"The qBittorrent package to use, we need @command{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
|
(webui-port
|
||||||
(integer 8080)
|
(integer 8080)
|
||||||
"Change the Web UI port.")
|
"Change the Web UI port.")
|
||||||
@ -49,7 +46,7 @@
|
|||||||
|
|
||||||
(define qbittorrent-activation
|
(define qbittorrent-activation
|
||||||
(match-record-lambda <qbittorrent-configuration>
|
(match-record-lambda <qbittorrent-configuration>
|
||||||
(qbittorrent log-file webui-port profile-directory extra-options)
|
(qbittorrent webui-port profile-directory extra-options)
|
||||||
#~(begin
|
#~(begin
|
||||||
(use-modules (guix build utils))
|
(use-modules (guix build utils))
|
||||||
(let ((profile-directory #$profile-directory)
|
(let ((profile-directory #$profile-directory)
|
||||||
@ -59,7 +56,7 @@
|
|||||||
|
|
||||||
(define qbittorrent-shepherd-service
|
(define qbittorrent-shepherd-service
|
||||||
(match-record-lambda <qbittorrent-configuration>
|
(match-record-lambda <qbittorrent-configuration>
|
||||||
(qbittorrent log-file webui-port profile-directory extra-options)
|
(qbittorrent webui-port profile-directory extra-options)
|
||||||
(list (shepherd-service
|
(list (shepherd-service
|
||||||
(documentation "Run qbittorrent.")
|
(documentation "Run qbittorrent.")
|
||||||
(provision '(qbittorrent))
|
(provision '(qbittorrent))
|
||||||
@ -72,7 +69,6 @@
|
|||||||
#$@extra-options)
|
#$@extra-options)
|
||||||
#:user "qbittorrent"
|
#:user "qbittorrent"
|
||||||
#:group "qbittorrent"
|
#:group "qbittorrent"
|
||||||
#:log-file #$log-file
|
|
||||||
#:resource-limits '((nofile 65536 65536))))
|
#:resource-limits '((nofile 65536 65536))))
|
||||||
(stop #~(make-kill-destructor #:grace-period 1800))))))
|
(stop #~(make-kill-destructor #:grace-period 1800))))))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user