: nply/fiche2

commit 79d3f1992e31a7875974ae73aabb60255eab1468
parent c42b8526f0223155443a21d34ba3ce013f0bb9e8
Author: Björn Ketelaars <bjorn.ketelaars@hydroxide.nl>
Date: Fri, 4 Sep 2015 16:40:29 +0200

update README.md
1 file changed, 6 insertions(+), 4 deletions(-)
M
README.md
|
10
++++++----
diff --git a/README.md b/README.md
@@ -115,13 +115,15 @@ http://domain.com/abcdef/
 
 #### User name ####
 
-If you use fiche as service (see details below) you may want to save files as other user, to do that use `-u` option,
-there's example:
+Set the user that fiche runs as using the `-u` option, example:
 
 ```
-fiche -u http
+fiche -u _fiche
 ```
 
+This option has effect only if fiche was started by root, otherwise it is ignored and fiche runs under the
+current user id.
+
 -----------------
 
 #### Buffersize ####

@@ -221,7 +223,7 @@ You can run fiche as service, there is simple systemd example:
 Description=FICHE-SERVER
 
 [Service]
-ExecStart=/usr/local/bin/fiche -d code.solusipse.net -o /home/www/code/ -l /home/www/log.txt
+ExecStart=/usr/local/bin/fiche -d code.solusipse.net -o /home/www/code/ -l /home/www/log.txt -u _fiche
 
 [Install]
 WantedBy=multi-user.target