diff options
Diffstat (limited to 'shepherd/init.d/bnw.scm')
-rw-r--r-- | shepherd/init.d/bnw.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shepherd/init.d/bnw.scm b/shepherd/init.d/bnw.scm new file mode 100644 index 0000000..ed9bf9d --- /dev/null +++ b/shepherd/init.d/bnw.scm @@ -0,0 +1,12 @@ +(define bnw + (make <service> + #:provides '(bnw) + #:docstring "Run the Beyesian Network Webserver" + #:start (make-forkexec-constructor + '("/usr/bin/sudo" "/home/shepherd/run_bnw.sh") + #:log-file "/home/shepherd/logs/bnw.log") + #:stop (make-kill-destructor) + #:respawn? #t)) +(register-services bnw) + +(start bnw) |