summaryrefslogtreecommitdiff
path: root/mulkcms-hunchentoot.lisp
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2018-07-29 14:27:36 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2018-07-29 14:27:36 +0200
commit88c78f464129856da0c980bc808f8fdeafae8e1c (patch)
tree59ef0b8de42f6ab0c6cce1d33c4b707fde8a0d0a /mulkcms-hunchentoot.lisp
parent3620af87e5a466e794491b790728a7384b83ef57 (diff)
Load site.lisp at runtime.
Loading site.lisp on startup rather than at compile-time is necessary to make the Docker/Kubernetes use case work.
Diffstat (limited to 'mulkcms-hunchentoot.lisp')
-rw-r--r--mulkcms-hunchentoot.lisp4
1 files changed, 4 insertions, 0 deletions
diff --git a/mulkcms-hunchentoot.lisp b/mulkcms-hunchentoot.lisp
index 4d7f3c1..f26ea7e 100644
--- a/mulkcms-hunchentoot.lisp
+++ b/mulkcms-hunchentoot.lisp
@@ -79,6 +79,10 @@
*acceptor*)
(defun run-server ()
+ (format t "~&Loading site configuration.")
+ (load "site.lisp")
+ (format t "~&Starting site: ~A" mulkcms::*site-name*)
+ (terpri)
(let ((acceptor (start-server)))
(unwind-protect
(loop