Update README.md - fiche - A pastebin adjusted for gopher use | |
git clone git://vernunftzentrum.de/fiche.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit ac40afb00baee79055558f057f830715cf7ee5d9 | |
parent 31022de8ecc891e8a5f68e2b97d56729e773a84c | |
Author: solusipse <[email protected]> | |
Date: Mon, 9 Sep 2013 01:15:55 +0200 | |
Update README.md | |
Diffstat: | |
README.md | 20 ++++++++++++++++++-- | |
1 file changed, 18 insertions(+), 2 deletions(-) | |
--- | |
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 wo… | |
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 /ho… | |
WantedBy=multi-user.target | |
``` | |
+In service mode you have to set output directory with ```-d``` parameter, ther… | |
+ | |
+``` | |
+fiche -o /home/www/code/ | |
+``` | |
+ | |
## Webserver ## | |
To make files available for users, you need to host them somehow. Http server … |