diff options
Diffstat (limited to 'blog.el')
-rw-r--r-- | blog.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/blog.el b/blog.el index 0407f98c6ffe..4e7cf91d8e51 100644 --- a/blog.el +++ b/blog.el @@ -44,6 +44,12 @@ (defun elblog-handler (httpcon) (elnode-hostpath-dispatcher httpcon elblog-routes)) -(elnode-start 'elblog-handler +(defun start-elblog () + (interactive) + (elnode-start 'elblog-handler :port 8010 - :host "localhost") + :host "localhost")) + +(defun stop-elblog () + (interactive) + (elnode-stop 8010)) |