: nply/fiche2

commit ac40afb00baee79055558f057f830715cf7ee5d9
parent 31022de8ecc891e8a5f68e2b97d56729e773a84c
Author: solusipse <solus1ps3@gmail.com>
Date: Mon, 9 Sep 2013 01:15:55 +0200

Update README.md
1 file changed, 18 insertions(+), 2 deletions(-)
M
README.md
|
20
++++++++++++++++++--
diff --git a/README.md b/README.md
@@ -64,6 +64,16 @@ buffer_size = 8192;
 queue_size = 100;
 ```
 
+Examples:
+
+```
+fiche -d domain.com
+```
+
+```
+fiche -s 6 -p 6666
+```
+
 ### Basic arguments ###
 
 Most important is providing **basedir** and **domain**.

@@ -72,7 +82,7 @@ Basedir should be **absolute** path to directory where you would like to store t
 
 Domain should be provided in such format ```domain.com```.
 
-Slug size: ```yourserver.com/SLUG_OF_CHOSEN_LENGTH/```.
+Slug size: ```domain.com/SLUG_OF_CHOSEN_LENGTH/```.
 
 ### Parameters for advanced users ###
 

@@ -80,7 +90,7 @@ Slug size: ```yourserver.com/SLUG_OF_CHOSEN_LENGTH/```.
 - Queue size
 
 ## Running as service ##
-
+e
 You can run fiche as service, there is simple systemd example:
 
 ```

@@ -94,6 +104,12 @@ ExecStart=/usr/local/bin/fiche -d code.solusipse.net -o /home/www/code/
 WantedBy=multi-user.target
 ```
 
+In service mode you have to set output directory with ```-d``` parameter, there's example:
+
+```
+fiche -o /home/www/code/
+```
+
 ## Webserver ##
 
 To make files available for users, you need to host them somehow. Http server is easiest option. Just set root