aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner2023-09-20 03:13:44 -0500
committershepherd2023-09-20 03:13:44 -0500
commit687609d61c1c990222140a955687e1d11857c257 (patch)
treeb1b93a5333c7c9103cdc87fa12ed3d202d3ae359
parent7d649772f8b15b0cbc1f24fc529adb821c89d7eb (diff)
downloadgn-shepherd-services-687609d61c1c990222140a955687e1d11857c257.tar.gz
Update pluto service
-rw-r--r--pluto-channels.scm8
-rwxr-xr-xrun_pluto.sh5
-rw-r--r--shepherd/init.d/pluto.scm3
3 files changed, 7 insertions, 9 deletions
diff --git a/pluto-channels.scm b/pluto-channels.scm
index 10257cf..149867c 100644
--- a/pluto-channels.scm
+++ b/pluto-channels.scm
@@ -1,14 +1,14 @@
(list
(channel
(name 'gn-bioinformatics)
- (url "https://gitlab.com/genenetwork/guix-bioinformatics")
+ (url "https://git.genenetwork.org/guix-bioinformatics/")
(commit
- "ac5eef9bfb431fac6fdfc60dd06ef44607787b76"))
+ "f1b32a21b7c45e3b974ecb543d845c2246339367"))
(channel
(name 'guix-past)
(url "https://gitlab.inria.fr/guix-hpc/guix-past")
(commit
- "247a14c67af91febfbd5b7f60be9f64945fba713")
+ "1e25b23faa6b1716deaf7e1782becb5da6855942")
(introduction
(make-channel-introduction
"0c119db2ea86a389769f4d2b9c6f5c41c027e336"
@@ -18,7 +18,7 @@
(name 'guix)
(url "https://git.savannah.gnu.org/git/guix.git")
(commit
- "79358a99cd46a27fdc716309ccee2596483ab9af")
+ "15c5f1a2c20b21de0f19f42db1ccab4c42117ebb")
(introduction
(make-channel-introduction
"9edb3f66fd807b096b48283debdcddccfea34bad"
diff --git a/run_pluto.sh b/run_pluto.sh
index 0acf720..7e61fb6 100755
--- a/run_pluto.sh
+++ b/run_pluto.sh
@@ -1,8 +1,7 @@
#!/bin/sh
-# Update the path to runpluto as the guix-profile changes.
-/home/shepherd/guix-profiles/pluto/bin/guix shell --container --network --no-cwd julia-visuals -- /gnu/store/wbci39sd5pqrjrb5ak0lkmv9jhnl35kv-julia-visuals-0.0.0-1.e7d670e/runpluto.sh
+/home/shepherd/guix-profiles/pluto/bin/guix build --no-grafts --cores=12 julia-visuals
+/home/shepherd/guix-profiles/pluto/bin/guix shell --container --network --pure julia-visuals nss-certs julia --expose=/etc/ssl --share=/home/shepherd/.julia=/home/shepherd/.julia -- runsliderserver
# Path found in the manifest file in the guix-profile
#$(/home/shepherd/guix-profiles/pluto/bin/guix system container /gnu/store/7zhrc956fl9v4x0fvaav5w8fj1ch3rpa-gn-bioinformatics/share/guile/site/3.0/gn/services/pluto.scm --network)
-#$(/home/shepherd/guix-profiles/pluto/bin/guix system container -L /home/shepherd/guix-past/modules/ -L /home/shepherd/guix-bioinformatics/ /home/shepherd/guix-bioinformatics/gn/services/pluto.scm --network)
diff --git a/shepherd/init.d/pluto.scm b/shepherd/init.d/pluto.scm
index 23a696e..6a985ca 100644
--- a/shepherd/init.d/pluto.scm
+++ b/shepherd/init.d/pluto.scm
@@ -3,8 +3,7 @@
#:provides '(pluto)
#:docstring "Run a pluto web server"
#:start (make-forkexec-constructor
- ;; Update the path to runpluto as the guix-profile changes.
- '("/home/shepherd/guix-profiles/pluto/bin/guix" "shell" "--container" "--network" "--no-cwd" "julia-visuals" "--" "/gnu/store/wbci39sd5pqrjrb5ak0lkmv9jhnl35kv-julia-visuals-0.0.0-1.e7d670e/runpluto.sh")
+ '("/home/shepherd/run_pluto.sh")
#:log-file "/home/shepherd/logs/pluto.log")
#:stop (make-kill-destructor)
#:respawn? #t))