add option to daemonize fiche
This commit is contained in:
7
fiche.h
7
fiche.h
@@ -9,11 +9,13 @@ Live example: http://code.solusipse.net/
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
||||
usage: fiche [-epbsdolBuw].
|
||||
[-e] [-d domain] [-p port] [-s slug size]
|
||||
usage: fiche [-DepbsdolBuw].
|
||||
[-D] [-e] [-d domain] [-p port] [-s slug size]
|
||||
[-o output directory] [-B buffer size] [-u user name]
|
||||
[-l log file] [-b banlist] [-w whitelist]
|
||||
|
||||
-D option is for daemonizing fiche
|
||||
|
||||
-e option is for using an extended character set for the URL
|
||||
|
||||
Compile with Makefile or manually with -O2 and -pthread flags.
|
||||
@@ -51,6 +53,7 @@ char *BANLIST;
|
||||
char *BANFILE;
|
||||
char *WHITEFILE;
|
||||
char *WHITELIST;
|
||||
int DAEMON = 0;
|
||||
int PORT = 9999;
|
||||
int SLUG_SIZE = 4;
|
||||
int BUFSIZE = 32768;
|
||||
|
||||
Reference in New Issue
Block a user