projects
/
thetarpit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea9593a
)
blog: Make port a configurable knob
author
Lucian Mogosanu
<lucian@mogosanu.ro>
Tue, 2 Jul 2019 09:21:26 +0000
(12:21 +0300)
committer
Lucian Mogosanu
<lucian@mogosanu.ro>
Tue, 2 Jul 2019 09:21:26 +0000
(12:21 +0300)
blog.lisp
patch
|
blob
|
history
diff --git
a/blog.lisp
b/blog.lisp
index
b08ba39
..
9a218b0
100644
(file)
--- a/
blog.lisp
+++ b/
blog.lisp
@@
-299,13
+299,13
@@
"mogosanu.ro:/virtual/sites/thetarpit.org")
:output *standard-output*))
-(defun tlbs-run-site (&key kill)
+(defun tlbs-run-site (&key kill (port 8000))
(cond
((and (not *busybox-process*) (not kill))
(setq *busybox-process*
(sb-ext:run-program "/bin/busybox"
(list "httpd" "-f"
- "-p" "8000"
+ "-p" (write-to-string port :base 10)
"-c" (concatenate 'string
*lbs-base*
"httpd.conf")