;; init.scm -- default shepherd configuration file. (use-modules ((ice-9 ftw) #:select (scandir)) (srfi srfi-26)) ;; Load all the files in the directory 'init.d' with a suffix '.scm'. (for-each (lambda (file) (load (string-append "init.d/" file))) (scandir (string-append (dirname (current-filename)) "/init.d") (cut string-suffix? ".scm" <>))) ;; Services known to shepherd: ;; Add new services (defined using 'make ') to shepherd here by ;; providing them as arguments to 'register-services'. (register-services) ;; Send shepherd into the background (action 'shepherd 'daemonize) ;; Services to start when shepherd starts: ;; Add the name of each service that should be started to the list ;; below passed to 'for-each'. (for-each start '(habit-logs roam-semantic-db))