[emacs] Re-indent shepherd service file
This commit is contained in:
parent
5f6ecb37e4
commit
2a845b3720
1 changed files with 10 additions and 10 deletions
|
@ -1,16 +1,16 @@
|
||||||
Define a service for shepherd that starts up Emacs.
|
Define a service for shepherd that starts up Emacs.
|
||||||
|
|
||||||
#+begin_src scheme
|
#+begin_src scheme
|
||||||
(define emacs
|
(define emacs
|
||||||
(make <service>
|
(make <service>
|
||||||
#:provides '(emacs)
|
#:provides '(emacs)
|
||||||
#:docstring "Run `emacs --daemon'"
|
#:docstring "Run `emacs --daemon'"
|
||||||
#:start (make-forkexec-constructor
|
#:start (make-forkexec-constructor
|
||||||
'("emacs" "--fg-daemon")
|
'("emacs" "--fg-daemon")
|
||||||
#:log-file (string-append (getenv "HOME") "/.logs/emacs.log"))
|
#:log-file (string-append (getenv "HOME") "/.logs/emacs.log"))
|
||||||
#:stop (make-kill-destructor)))
|
#:stop (make-kill-destructor)))
|
||||||
|
|
||||||
(register-services emacs)
|
(register-services emacs)
|
||||||
|
|
||||||
(start emacs)
|
(start emacs)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue