A QOTD server.
To build a standalone .jar
:
lein uberjar
You need to run the server as root if you want to use the default port, because it’s below 1024 (17).
[sudo] java -jar <standalone.jar> <file.fortune> [<port>]
<standalone.jar>
is the path to the standalone.jar
<file.fortune>
is the path to your quotes file. Quotes are separated with a%
on its own line.<port>
is optional and is the port used by the server (default is 17).
Copyright © 2013 Baptiste Fontaine
Distributed under the Eclipse Public License version 1.0