diff options
author | Sadie Powell <sadie@witchery.services> | 2020-05-21 00:03:26 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-05-21 00:03:26 +0100 |
commit | e1211a68e5a7d85bca7ad7fc6d13418a2c12093b (patch) | |
tree | 97ce7467bca0365c5f2f7d71320fa3ef9ef20972 /make/template | |
parent | 61704664a7d921b0bd2e9eca1af979c670c775ed (diff) |
Add a file to the config directory telling new users what to do.
Diffstat (limited to 'make/template')
-rw-r--r-- | make/template/help.txt | 19 | ||||
-rw-r--r-- | make/template/main.mk | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/make/template/help.txt b/make/template/help.txt new file mode 100644 index 000000000..0afe91e02 --- /dev/null +++ b/make/template/help.txt @@ -0,0 +1,19 @@ +Thanks for installing InspIRCd! + +In order to get your server running you need to create config files. Examples +can be found at `@EXAMPLE_DIR@`. + +If you need any help with this then you can visit our support channel at +irc.inspircd.org #inspircd or refer to the the docs site: + + https://docs.inspircd.org/@VERSION_MAJOR@/configuration + https://docs.inspircd.org/@VERSION_MAJOR@/modules + +When you are done you can run the following command to start InspIRCd: + + @BINARY_DIR@/inspircd + +If you have installed from an official package you may need to prefix this +command with `sudo -g @GROUP@ -u @USER@` to run as the correct group/user. + +You can also use one of the helper scripts in `@SCRIPT_DIR@`. diff --git a/make/template/main.mk b/make/template/main.mk index 6bd1d390d..380d57f27 100644 --- a/make/template/main.mk +++ b/make/template/main.mk @@ -246,6 +246,7 @@ endif -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) docs/conf/providers/*.example $(EXAPATH)/providers -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) docs/conf/services/*.example $(EXAPATH)/services -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) docs/sql/*.sql $(EXAPATH)/sql + -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_TXT) @CONFIGURE_DIRECTORY@/help.txt $(CONPATH) -$(INSTALL) -g @GID@ -o @UID@ -m $(INSTMODE_PRV) *.pem $(CONPATH) 2>/dev/null @echo "" @echo "*************************************" |