From 1454b86d292b284b61ff9044dfb4221719732a60 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 13 Oct 2022 18:28:28 +0300 Subject: Update pluto service --- shepherd/init.d/pluto.scm | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'shepherd') diff --git a/shepherd/init.d/pluto.scm b/shepherd/init.d/pluto.scm index dc36730..81c7fe6 100644 --- a/shepherd/init.d/pluto.scm +++ b/shepherd/init.d/pluto.scm @@ -1,14 +1,13 @@ (define pluto (make - #:provides '(pluto) - #:docstring "Run a pluto web server" - #:start (make-forkexec-constructor - '("/home/shepherd/run_pluto.sh") - #:log-file "/home/shepherd/logs/pluto.log") - #:stop (make-kill-destructor) - ;; currently running in a screen session - #:auto-start? #f - #:respawn? #t)) + #: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") + #:log-file "/home/shepherd/logs/pluto.log") + #:stop (make-kill-destructor) + #:respawn? #t)) (register-services pluto) (start pluto) -- cgit v1.2.3