diff options
Diffstat (limited to 'config/shepherd/init.scm')
-rw-r--r-- | config/shepherd/init.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/config/shepherd/init.scm b/config/shepherd/init.scm index 7b548e9..3d47bd4 100644 --- a/config/shepherd/init.scm +++ b/config/shepherd/init.scm @@ -1,14 +1,14 @@ ;; init.scm -- default shepherd configuration file. -(use-modules ((ice-9 ftw) #:select (scandir))) +(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") - (lambda (file) - (string-suffix? ".scm" file)))) + (cut string-suffix? ".scm" <>))) ;; Services known to shepherd: @@ -22,4 +22,4 @@ ;; 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 '()) +(for-each start '(habit-logs roam-semantic-db)) |