SummaryRefsLogTreeCommitDiffStats
path: root/src/mcron/config.scm.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/mcron/config.scm.in')
-rw-r--r--src/mcron/config.scm.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/mcron/config.scm.in b/src/mcron/config.scm.in
index 2b0bc7f..e6a0e07 100644
--- a/src/mcron/config.scm.in
+++ b/src/mcron/config.scm.in
@@ -19,7 +19,6 @@
(define-module (mcron config))
-(define-public config-debug @CONFIG_DEBUG@)
(define-public config-package-name "@PACKAGE_NAME@")
(define-public config-package-version "@PACKAGE_VERSION@")
(define-public config-package-string "@PACKAGE_STRING@")
@@ -33,3 +32,11 @@
(define-public config-deny-file "@CONFIG_DENY_FILE@")
(define-public config-pid-file "@CONFIG_PID_FILE@")
(define-public config-tmp-dir "@CONFIG_TMP_DIR@")
+
+;;;
+;;; Runtime configuration
+;;;
+
+(define-public config-debug
+ ;; Trigger the display of Guile stack traces on errors.
+ (getenv "MCRON_DEBUG"))