From 687609d61c1c990222140a955687e1d11857c257 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 20 Sep 2023 03:13:44 -0500 Subject: Update pluto service --- pluto-channels.scm | 8 ++++---- run_pluto.sh | 5 ++--- shepherd/init.d/pluto.scm | 3 +-- 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)) -- cgit v1.2.3