]> jfr.im git - irc/quakenet/newserv.git/blame - INSTALL
trusts: Throttle trusted clients if they disconnect too soon.
[irc/quakenet/newserv.git] / INSTALL
CommitLineData
d1b8e200
GB
1newserv Installation
2~~~~~~~~~~~~~~~~~~~
3
4In order to install newserv you will have to run the configure script:
5
6$ ./configure
7
8The configure script will list any missing dependencies. If you're unsure why
9a certain library or header file was not found you can run the configure script
10with the -v option or check the .configure.log file after your first configure
11run.
12
91e81150 13Please refer to the "Local Settings" section in this file if you're
d1b8e200
GB
14using non-standard library/header search paths. Once you've resolved all
15dependency issues you can build newserv:
16
17$ make
18
19This might take a while. After all modules are built you can install
20newserv:
21
22$ make install
23
24By default the newserv binary and the modules are installed into your
25source tree. The recommended setup is to now create a separate directory
26and symlink the "newserv" binary and the "modules" directory into it:
27
28$ cd
29$ mkdir newserv-install && cd newserv-install
30$ mkdir data # Some modules depend on this directory being available
31$ ln -s ../newserv-src/newserv
32$ ln -s ../newserv-src/modules
33
34You will also need to copy the newserv.conf.example configuration file to your
35installation directory and rename it to newserv.conf.
36
37After you have updated your newserv.conf file you can start newserv:
38
39$ ./newserv
40
41newserv does not detach from the console. Consider running it in a
42screen(1) session.
43
91e81150
GB
44Local Settings
45~~~~~~~~~~~~~
d1b8e200
GB
46
47If you are using non-standard library/include paths you can create a file
48called configure.ini.local (using configure.ini.local.example as a template)
49to override some of the settings.
50
51Workspaces
52~~~~~~~~~
53
91e81150
GB
54If you're planning to write your own modules you might consider using
55workspace.
d1b8e200
GB
56
57For this to work you will need to create a directory for your modules:
58
59$ mkdir custom
60
61Create a skeleton configure.ini in your new module directory:
62
63[modules]
64mymodule=
65
66And finally add your workspace to the workspaces.ini file:
67
68[workspaces]
69custom=
70
71You will need to re-run configure for it to pick up your new
72workspace and whatever modules you have in it.