summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-27 12:46:22 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-27 12:46:22 +0100
commit0b1417faa0820847d4674d496dfeb069787c3ab2 (patch)
tree9258fc30925344f844b6d7218679e0876c711eec /config.c
parentf0936ca1b231df3c5cb7cf80a1d6a88d7ea980af (diff)
Change default certfile and keyfile to be <basedir>/ instead of $HOME/.blabouncer/.
Diffstat (limited to 'config.c')
-rw-r--r--config.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/config.c b/config.c
index 12237b3..798ad82 100644
--- a/config.c
+++ b/config.c
@@ -200,18 +200,18 @@ int createconfigfile(char *filename) {
"# Real IRC server port\n"
"ircserverport = \"6697\"\n"
"\n"
- "# Certificate file (defaults to $HOME/.blabouncer/cert.pem)\n"
+ "# Base directory (defaults to $HOME/.blabouncer/)\n"
+ "# Things such as the logs directory will be placed below this\n"
+ "#basedir = \"/home/foo/.blabouncer/\"\n"
+ "\n"
+ "# Certificate file (defaults to <basedir>/cert.pem)\n"
"# If clienttls = \"0\" then this need not be set\n"
"#certfile = \"/home/foo/.blabouncer/cert.pem\"\n"
"\n"
- "# Certificate key file (defaults to $HOME/.blabouncer/key.pem)\n"
+ "# Certificate key file (defaults to <basedir>/key.pem)\n"
"# If clienttls = \"0\" then this need not be set\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"
- "#basedir = \"/home/foo/.blabouncer/\"\n"
- "\n"
"# Enable logging (\"1\" for yes or \"0\" for no)\n"
"# Logs go to basedir/logs/ with one file per channel/nick\n"
"logging = \"1\"\n"