diff options
author | Tom Willemse | 2022-05-17 21:58:35 -0700 |
---|---|---|
committer | Tom Willemse | 2022-05-17 21:58:35 -0700 |
commit | c16cfe3e48ac9a3f55f9946022f6cae3794a92a5 (patch) | |
tree | 6dfe18a293cc1e33a4946008a7006158b7e2f205 /mcron/.config/shepherd/init.d | |
parent | ae24850dd7f016885beeb31f7f3243ecb8d741c0 (diff) | |
download | new-dotfiles-c16cfe3e48ac9a3f55f9946022f6cae3794a92a5.tar.gz new-dotfiles-c16cfe3e48ac9a3f55f9946022f6cae3794a92a5.zip |
Add shepherd and mcron services for some applications
Diffstat (limited to 'mcron/.config/shepherd/init.d')
-rw-r--r-- | mcron/.config/shepherd/init.d/mcron.scm | 13 |
1 files changed, 13 insertions, 0 deletions
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 <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) |