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>
This commit is contained in:
		
							parent
							
								
									4f91c77dc5
								
							
						
					
					
						commit
						56fddefc6d
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		| 
						 | 
					@ -1,5 +1,6 @@
 | 
				
			||||||
;;; GNU Guix --- Functional package management for GNU
 | 
					;;; GNU Guix --- Functional package management for GNU
 | 
				
			||||||
;;; Copyright © 2021 Oleg Pykhalov <go.wigust@gmail.com>
 | 
					;;; Copyright © 2021 Oleg Pykhalov <go.wigust@gmail.com>
 | 
				
			||||||
 | 
					;;; Copyright © 2023 Justin Veilleux <terramorpha@cock.li>
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
;;; This file is part of GNU Guix.
 | 
					;;; This file is part of GNU Guix.
 | 
				
			||||||
;;;
 | 
					;;;
 | 
				
			||||||
| 
						 | 
					@ -60,9 +61,9 @@
 | 
				
			||||||
       (requirement '(loopback))
 | 
					       (requirement '(loopback))
 | 
				
			||||||
       (start #~(make-forkexec-constructor
 | 
					       (start #~(make-forkexec-constructor
 | 
				
			||||||
                 (append (list (string-append #$syncthing "/bin/syncthing")
 | 
					                 (append (list (string-append #$syncthing "/bin/syncthing")
 | 
				
			||||||
                               "-no-browser"
 | 
					                               "--no-browser"
 | 
				
			||||||
                               "-no-restart"
 | 
					                               "--no-restart"
 | 
				
			||||||
                               (string-append "-logflags=" (number->string #$logflags)))
 | 
					                               (string-append "--logflags=" (number->string #$logflags)))
 | 
				
			||||||
                         '#$arguments)
 | 
					                         '#$arguments)
 | 
				
			||||||
                 #:user #$user
 | 
					                 #:user #$user
 | 
				
			||||||
                 #:group #$group
 | 
					                 #:group #$group
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue