[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: services: syncthing: Ensure that service runs after mounting home
From: |
guix-commits |
Subject: |
02/08: services: syncthing: Ensure that service runs after mounting home directories. |
Date: |
Sun, 17 Sep 2023 09:37:18 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 944c1b62a1b36d6383b8e902f1a4abbee0165e34
Author: Adam Maleszka <adam_maleszka@aol.com>
AuthorDate: Mon Sep 4 14:25:23 2023 +0200
services: syncthing: Ensure that service runs after mounting home
directories.
Sometimes `syncthing-service-type' fails during startup because it tries
to read configuration files from the user's home directory:
Failure on home directory: mkdir /home/xyz/.config: permission denied
This patch adds `user-processes' to the shepherd service requirements to
ensure that `user-homes' is fired before `syncthing' tries to read data
from the home directory.
* gnu/services/syncthing.scm (syncthing-shepherd-service): add
`user-processes' to requirements
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/services/syncthing.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/services/syncthing.scm b/gnu/services/syncthing.scm
index 2f7c822827..9bb623186b 100644
--- a/gnu/services/syncthing.scm
+++ b/gnu/services/syncthing.scm
@@ -63,7 +63,7 @@
(list (string->symbol
(string-append "syncthing-" user)))))
(documentation "Run syncthing.")
- (requirement (if home-service? '() '(loopback)))
+ (requirement (if home-service? '() '(loopback user-processes)))
(start #~(make-forkexec-constructor
(append (list (string-append #$syncthing "/bin/syncthing")
"--no-browser"
- branch master updated (af08de2b2d -> 5abc40d7f7), guix-commits, 2023/09/17
- 01/08: tests: childhurd: Add missing module imports., guix-commits, 2023/09/17
- 02/08: services: syncthing: Ensure that service runs after mounting home directories.,
guix-commits <=
- 04/08: transformations: tuned-package: Use target on cross-compile., guix-commits, 2023/09/17
- 05/08: gnu: spdlog: Update to 1.12.0., guix-commits, 2023/09/17
- 06/08: gnu: home: zsh: Load environment when running via ssh, guix-commits, 2023/09/17
- 08/08: gnu: cockatrice: add wayland dependency, guix-commits, 2023/09/17
- 03/08: services: dhcp-client-configuration: Allow provision override., guix-commits, 2023/09/17
- 07/08: gnu: file-systems: Add variable %base-live-file-systems., guix-commits, 2023/09/17