From 663f6ef7a49dfd85d4bda075d73f361970f2fd7d Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 27 May 2021 08:35:31 +0000 Subject: genecup: new service. --- shepherd/init.d/genecup.scm | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 shepherd/init.d/genecup.scm (limited to 'shepherd') diff --git a/shepherd/init.d/genecup.scm b/shepherd/init.d/genecup.scm new file mode 100644 index 0000000..9d27529 --- /dev/null +++ b/shepherd/init.d/genecup.scm @@ -0,0 +1,14 @@ +(define genecup + (make + #:provides '(genecup) + #:docstring "Run the genecup.org web server" + #:start (make-forkexec-constructor + '("/home/shepherd/run_genecup.sh") + #:log-file "/home/shepherd/logs/genecup.log") + #:stop (make-kill-destructor) + ;; currently running in a screen session + #:auto-start? #f + #:respawn? #t)) +(register-services genecup) + +(start genecup) -- cgit v1.2.3