aboutsummaryrefslogtreecommitdiff
path: root/gn/services
diff options
context:
space:
mode:
Diffstat (limited to 'gn/services')
-rw-r--r--gn/services/rshiny.scm4
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