[emacs] Re-indent shepherd service file

This commit is contained in:
Tom Willemse 2022-03-03 01:15:59 -08:00
parent 5f6ecb37e4
commit 2a845b3720

View file

@ -1,16 +1,16 @@
Define a service for shepherd that starts up Emacs.
#+begin_src scheme
(define emacs
(make <service>
#:provides '(emacs)
#:docstring "Run `emacs --daemon'"
#:start (make-forkexec-constructor
'("emacs" "--fg-daemon")
#:log-file (string-append (getenv "HOME") "/.logs/emacs.log"))
#:stop (make-kill-destructor)))
(define emacs
(make <service>
#:provides '(emacs)
#:docstring "Run `emacs --daemon'"
#:start (make-forkexec-constructor
'("emacs" "--fg-daemon")
#:log-file (string-append (getenv "HOME") "/.logs/emacs.log"))
#:stop (make-kill-destructor)))
(register-services emacs)
(register-services emacs)
(start emacs)
(start emacs)
#+end_src