diff options
Diffstat (limited to 'shepherd')
-rw-r--r-- | shepherd/init.d/pluto.scm | 17 |
1 files changed, 8 insertions, 9 deletions
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 <service> - #: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) |