diff options
author | jgart | 2024-08-02 16:11:14 -0500 |
---|---|---|
committer | jgart | 2024-08-02 16:11:14 -0500 |
commit | 57444f7e0f360eb88e11aed4217143cafb164325 (patch) | |
tree | a26fa0a1604df63b643569fd4a1645653b40f65d | |
parent | 8bcb99e7d1fe7d5519935923d382a5deaa769936 (diff) | |
download | guix-bioinformatics-57444f7e0f360eb88e11aed4217143cafb164325.tar.gz |
rshiny: add logging for applications
-rw-r--r-- | gn/services/rshiny.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gn/services/rshiny.scm b/gn/services/rshiny.scm index 90e4728..8633c0a 100644 --- a/gn/services/rshiny.scm +++ b/gn/services/rshiny.scm @@ -9,6 +9,7 @@ (use-modules (gnu) (guix records) + (guix packages) (ice-9 match)) (use-service-modules shepherd) (use-package-modules cran) @@ -37,7 +38,8 @@ #$(string-append "/run/current-system/profile/bin/" binary)) ;#:log-file #$(string-append "/var/log/" binary ".log") ; kills shepherd #:environment-variables - (list "R_LIBS_USER=/run/current-system/profile/site-library/"))) + (list "R_LIBS_USER=/run/current-system/profile/site-library/") + #:log-file #$(string-append "/var/log/rshiny-" (package-name package) ".log"))) ;; Now lets try it with fork+exec ;; Outcome: shepherd says failed, runs in the background. ;(start |