update README.md

This commit is contained in:
Björn Ketelaars
2015-09-04 16:40:29 +02:00
parent c42b8526f0
commit 79d3f1992e

View File

@@ -115,13 +115,15 @@ http://domain.com/abcdef/
#### User name #### #### 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, Set the user that fiche runs as using the `-u` option, example:
there's 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 #### #### Buffersize ####
@@ -221,7 +223,7 @@ You can run fiche as service, there is simple systemd example:
Description=FICHE-SERVER Description=FICHE-SERVER
[Service] [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] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target