aboutsummaryrefslogtreecommitdiff
path: root/shepherd
diff options
context:
space:
mode:
authorEfraim Flashner2022-08-01 16:25:48 +0000
committerShepherd2022-08-01 16:25:48 +0000
commit937ecd5f56475927db65839caa5c4a8e2f528893 (patch)
tree1d1e39dceb403995c08f5459e0050d191a172cac /shepherd
parentb03c5098cef96ea58d914f48614248225134c2d1 (diff)
downloadgn-shepherd-services-937ecd5f56475927db65839caa5c4a8e2f528893.tar.gz
pluto: New service
Diffstat (limited to 'shepherd')
-rw-r--r--shepherd/init.d/pluto.scm14
1 files changed, 14 insertions, 0 deletions
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 <service>
+ #: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)