From 937ecd5f56475927db65839caa5c4a8e2f528893 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 1 Aug 2022 16:25:48 +0000 Subject: pluto: New service --- shepherd/init.d/pluto.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shepherd/init.d/pluto.scm (limited to 'shepherd') diff --git a/shepherd/init.d/pluto.scm b/shepherd/init.d/pluto.scm new file mode 100644 index 0000000..dc36730 --- /dev/null +++ b/shepherd/init.d/pluto.scm @@ -0,0 +1,14 @@ +(define pluto + (make + #:provides '(pluto) + #:docstring "Run a pluto web server" + #:start (make-forkexec-constructor + '("/home/shepherd/run_pluto.sh") + #:log-file "/home/shepherd/logs/pluto.log") + #:stop (make-kill-destructor) + ;; currently running in a screen session + #:auto-start? #f + #:respawn? #t)) +(register-services pluto) + +(start pluto) -- cgit v1.2.3