diff options
author | Andreas Enge <andreas@enge.fr> | 2023-04-22 09:21:22 +0200 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2023-04-22 09:21:22 +0200 |
commit | d1252b597d8b6c77746da7b7417d958f00d01dc6 (patch) | |
tree | e2cdc9b0938e5ed7ac1b095b83c5760bbedecb87 /gnu/services/rsync.scm | |
parent | 3f7ae420d8a54d4e2ab7f349c40d8930fe9e0771 (diff) | |
parent | 040d35f088e0f1c856f3f5a9b6bf889b17bd68b3 (diff) |
Merge remote-tracking branch 'origin/master' into core-updates
Diffstat (limited to 'gnu/services/rsync.scm')
-rw-r--r-- | gnu/services/rsync.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/services/rsync.scm b/gnu/services/rsync.scm index d456911563..aeb4275031 100644 --- a/gnu/services/rsync.scm +++ b/gnu/services/rsync.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com> -;;; Copyright © 2021 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2021, 2023 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -225,13 +225,15 @@ please use 'modules' instead~%"))) (pid-file (rsync-configuration-pid-file config)) (port-number (rsync-configuration-port-number config)) (user (rsync-configuration-user config)) - (group (rsync-configuration-group config))) + (group (rsync-configuration-group config)) + (config-file (rsync-config-file config))) (list (shepherd-service (provision '(rsync)) (documentation "Run rsync daemon.") + (actions (list (shepherd-configuration-action config-file))) (start #~(make-forkexec-constructor (list (string-append #$rsync "/bin/rsync") - "--config" #$(rsync-config-file config) + "--config" #$config-file "--daemon") #:pid-file #$pid-file #:user #$user |