From c16cfe3e48ac9a3f55f9946022f6cae3794a92a5 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 17 May 2022 21:58:35 -0700 Subject: Add shepherd and mcron services for some applications --- mcron/.config/shepherd/init.d/mcron.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mcron/.config/shepherd/init.d/mcron.scm (limited to 'mcron') diff --git a/mcron/.config/shepherd/init.d/mcron.scm b/mcron/.config/shepherd/init.d/mcron.scm new file mode 100644 index 0000000..aed6673 --- /dev/null +++ b/mcron/.config/shepherd/init.d/mcron.scm @@ -0,0 +1,13 @@ +(define mcron + (make + #: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) -- cgit v1.2.3-54-g00ecf