aboutsummaryrefslogtreecommitdiff
path: root/shepherd/init.d/hrdp-project.scm
diff options
context:
space:
mode:
Diffstat (limited to 'shepherd/init.d/hrdp-project.scm')
-rw-r--r--shepherd/init.d/hrdp-project.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/shepherd/init.d/hrdp-project.scm b/shepherd/init.d/hrdp-project.scm
new file mode 100644
index 0000000..86b5f21
--- /dev/null
+++ b/shepherd/init.d/hrdp-project.scm
@@ -0,0 +1,12 @@
+(define hrdp-project
+ (make <service>
+ #:provides '(hrdp-project)
+ #:docstring "Run the hrdp-project web server"
+ #:start (make-forkexec-constructor
+ '("/home/shepherd/run_hrdp-project.sh")
+ #:log-file "/home/shepherd/logs/hrdp-project.log")
+ #:stop (make-kill-destructor)
+ #:respawn? #t))
+(register-services hrdp-project)
+
+(start hrdp-project)