dotfiles/mcron/.config/shepherd/init.d/mcron.scm

14 lines
321 B
Scheme
Raw Normal View History

(define mcron
(make <service>
#:provides '(mcron)
#:docstring "Run `mcron'"
#:start (make-forkexec-constructor
'("mcron")
#:log-file (string-append (getenv "HOME") "/.logs/mcron.log"))
#:stop (make-kill-destructor)
#:respawn? #t))
(register-services mcron)
(start mcron)