summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorterramorpha <terramorpha@cock.li>2023-07-13 16:16:51 -0400
committerLudovic Courtès <ludo@gnu.org>2023-08-11 00:50:48 +0200
commit56fddefc6de3b0c1f2ccb9559d86ba08d2e429b9 (patch)
tree8b6f38b3bef6b55200867f487a4b6640e4ae7d1a
parent4f91c77dc5ff5e203392bf08b57d228ce141b5e5 (diff)
services: syncthing: Use the new command line syntax.
* gnu/services/syncthing.scm (syncthing-shepherd-service): Use the new command line syntax. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r--gnu/services/syncthing.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/services/syncthing.scm b/gnu/services/syncthing.scm
index 7c3d5b027d..c1a0cdd81f 100644
--- a/gnu/services/syncthing.scm
+++ b/gnu/services/syncthing.scm
@@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2021 Oleg Pykhalov <go.wigust@gmail.com>
+;;; Copyright © 2023 Justin Veilleux <terramorpha@cock.li>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -60,9 +61,9 @@
(requirement '(loopback))
(start #~(make-forkexec-constructor
(append (list (string-append #$syncthing "/bin/syncthing")
- "-no-browser"
- "-no-restart"
- (string-append "-logflags=" (number->string #$logflags)))
+ "--no-browser"
+ "--no-restart"
+ (string-append "--logflags=" (number->string #$logflags)))
'#$arguments)
#:user #$user
#:group #$group