summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'config.c')
-rw-r--r--config.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/config.c b/config.c
index 5ef6ffc..f557001 100644
--- a/config.c
+++ b/config.c
@@ -159,10 +159,14 @@ int createconfigfile(char *filename) {
// Prepare the string
char *string =
"# blabouncer configuration file\n"
+ "#\n"
"# Entries must be in the form:\n"
"# option name, space, equals sign, space, double quote, option value, double quote\n"
"# e.g.\n"
"# realname = \"Mr Bla Bouncer\"\n"
+ "#\n"
+ "# Shell expansion is not supported, so do not try and specify e.g.\n"
+ "# \"~/.blabouncer/\" or \"%HOME/.blabouncer/\", instead use \"/home/foo/.blabouncer\"\n"
"\n"
"nick = \"blabounce\"\n"
"nick2 = \"bbounce2\"\n"
@@ -170,7 +174,7 @@ int createconfigfile(char *filename) {
"username = \"bounceusr\"\n"
"realname = \"Mr Bla Bouncer\"\n"
"\n"
- "# Channels to automatically join (comma-separated list)\n"
+ "# Channels to automatically join (comma-separated list, defaults to none)\n"
"#channels = \"#blabouncer,#test\"\n"
"\n"
"# How many seconds of replay log should be sent to connecting clients\n"
@@ -195,13 +199,13 @@ int createconfigfile(char *filename) {
"# Real IRC server port\n"
"ircserverport = \"6697\"\n"
"\n"
- "# Certificate file\n"
+ "# Certificate file (defaults to $HOME/.blabouncer/cert.pem)\n"
"# If clienttls = \"0\" then this need not be set\n"
- "certfile = \"cert.pem\"\n"
+ "#certfile = \"/home/foo/.blabouncer/cert.pem\"\n"
"\n"
- "# Certificate key file\n"
+ "# Certificate key file (defaults to $HOME/.blabouncer/key.pem)\n"
"# If clienttls = \"0\" then this need not be set\n"
- "keyfile = \"key.pem\"\n"
+ "#keyfile = \"/home/foo/.blabouncer/key.pem\"\n"
"\n"
"# Base directory (defaults to $HOME/.blabouncer/)\n"
"# Things such as the logs directory will be placed below this\n"