aboutsummaryrefslogtreecommitdiff
path: root/shepherd
diff options
context:
space:
mode:
Diffstat (limited to 'shepherd')
-rw-r--r--shepherd/init.d/genenetwork1.scm12
-rw-r--r--shepherd/init.d/test-upgrade.scm1
2 files changed, 13 insertions, 0 deletions
diff --git a/shepherd/init.d/genenetwork1.scm b/shepherd/init.d/genenetwork1.scm
new file mode 100644
index 0000000..31f1bb0
--- /dev/null
+++ b/shepherd/init.d/genenetwork1.scm
@@ -0,0 +1,12 @@
+(define genenetwork1
+ (make <service>
+ #:provides '(genenetwork1)
+ #:docstring "Run the Legacy Genenetwork webserver"
+ #:start (make-forkexec-constructor
+ '("/usr/bin/sudo" "/home/shepherd/run_genenetwork1.sh")
+ #:log-file "/home/shepherd/logs/genenetwork1.log")
+ #:stop (make-kill-destructor)
+ #:respawn? #t))
+(register-services genenetwork1)
+
+(start genenetwork1)
diff --git a/shepherd/init.d/test-upgrade.scm b/shepherd/init.d/test-upgrade.scm
index c9ac5de..6750ede 100644
--- a/shepherd/init.d/test-upgrade.scm
+++ b/shepherd/init.d/test-upgrade.scm
@@ -8,6 +8,7 @@
'("guix" "build"
"-L" "/home/shepherd/guix-bioinformatics"
"-L" "/home/shepherd/guix-past/modules"
+ "genenetwork1" "httpd22-with-mod-python"
;"bnw" octave-3.4.3 FTBFS
"gitea"
"go-ipfs"