From eb9ffbbd863cc11b1a6da59b9b4bf228313426ac Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Wed, 2 Mar 2016 18:07:17 -0800 Subject: Separating configuration stuff to config.txr. --- config.txr | 3 +++ main.txr | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 config.txr diff --git a/config.txr b/config.txr new file mode 100644 index 0000000..57cd00f --- /dev/null +++ b/config.txr @@ -0,0 +1,3 @@ +@(bind debug-enable t) +@(bind aliases-file "/etc/tamarind/aliases") +@(bind csslink "") diff --git a/main.txr b/main.txr index cc364c7..35ec80f 100755 --- a/main.txr +++ b/main.txr @@ -1,6 +1,6 @@ #!/usr/local/bin/txr @(next :args) -@(bind debug-enable t) +@(load "config") @(load "logging") @(load "headers") @(load "auth") @@ -13,7 +13,6 @@ @(load "alias-list-form") @(load "edit-memo-form") @(load "startup") -@(bind csslink "") @(do (randomize)) @(startup domain) @(next :env) -- cgit v1.2.3