Permalink
Browse files

Tweak markdown formatting

  • Loading branch information...
1 parent 06ff75a commit 71dbebbe81233269a5a5ccbdc798d7a667d24f65 @arohner committed Oct 5, 2011
Showing with 6 additions and 4 deletions.
  1. +6 −4 README.md
View
@@ -2,18 +2,20 @@ Lein-daemon is a lein plugin that starts a clojure process as a daemon. In versi
To use, add a :daemon option to your project.clj, it looks like
- :daemon { :name-of-service {:ns my.name.space
- :pidfile "path-to-pidfile.pid"}}
+```clojure
+ :daemon {:name-of-service {:ns my.name.space
+ :pidfile "path-to-pidfile.pid"}}
+```
The keys of the daemon map are the names of services that can be started at the command-line. Start a process with "lein daemon start :name-of-service". pidfile specifies where the pid file will be written. This path can be relative to the project directory, or absolute.
Install
=======
add lein-daemon to your leiningen project file, as a dev-dependency::
- ```clojure
+```clojure
:dev-dependencies [[lein-daemon "0.4.0"]]
- ```
+```
lein-daemon requires JNA to load the C standard library, so if you're using an uncommon JVM, you might need to install JNA on your box. If you're running Hotspot, you're probably fine.

0 comments on commit 71dbebb

Please sign in to comment.