On Thu, Jun 16, 2022 at 11:36:01AM -0700, Tangonov wrote: > Thanks Fredrik! > > I really struggle with subtle details that are a few paragraphs deep, and > so, I am embarassed. > > If anyone else is reading this for reference: I should not have set =#:user > #:t= for =make-forkexec-constructor=. The =#:user= keyword expects a string. > My user is implicitly when left with the default value. > > If I may say so, this has been easier to learn than systemd services. After > many years of mostly failing to use systemd properly, I have not yet > mastered it. > > My user-level services are running :) > I'm a bit late, but I'm glad to see that its working for you. Here's what I have in my user services for running syncthing: (define %syncthing-user-service (shepherd-service (documentation "Run `syncthing' without calling the browser") (provision '(syncthing)) (start #~(make-forkexec-constructor (list #$(file-append (S "syncthing") "/bin/syncthing") "-no-browser") #:log-file (string-append #$%logdir "/syncthing.log"))) (stop #~(make-kill-destructor)) (respawn? #t))) I have %logdir defined elsewhere as: (define %logdir (or (getenv "XDG_LOG_HOME") (format #f "~a/.local/var/log" (getenv "HOME")))) and S is specification->package. -- Efraim Flashner אפרים פלשנר GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted