From ArchWiki
(Redirected from Inspircd)
Jump to: navigation, search

InspIRCd (Inspire IRC daemon) is a modular and lightweight IRC daemon written in C++. As it is one of the few IRCd projects written from scratch, it avoids a number of design flaws and speed issues that plague other more established IRCd projects with the same or less features, such as UnrealIRCd 3. It's the IRCd used by the Chatspike IRC network.


Note: Before you begin, check that you do not have any user or group named inspircd as the package will create and run using this user privileges (for security reasons).

Install the inspircdAUR package.


The configuration file /etc/inspircd/inspircd.conf is mandatory, HTML-formatted and needs to be created when installing.

How you set your configuration file will depend a lot on your needs and system configuration, reason why there's no configuration file set by default.

Tip: You can use the example (and very well documented) configuration file located at /usr/share/inspircd/examples/inspircd.conf.example. Copy this file to /etc/inspircd/inspircd.conf, read and edit it carefully to fit your needs.

Its HTML format may be somewhat different of what most of the people is used to. The format of an instruction within the configuration file looks like the following:

<tagname variable="value">
Note: The example file has some <die value="anything here"> lines in the example file to make sure you read the entire thing. You must remove these entries otherwise the server will not start.

Make sure to set the pidfile to /var/lib/inspircd/, as explained in the package's install script.

Further information is available at the InspIRCd configuration wiki page.

Loading modules

By default, InspIRCd loads no modules. As every feature outside of RFC 1459 is actually a module, by loading no modules your ircd really won't do anything impressive. You can load modules by adding for instance:

<module name="">

This will load the m_silence module (which provides the somewhat standard SILENCE list facility). You must restart the daemon for changes to take effect. A list of the available modules is available at the InspIRCd modules wiki page.

Third-party modules

To install a third-party module, save the [module].cpp within [build-dir]/inspircd/src/inspircd/src/modules/ and continue the build process. If you have already built and installed InspIRCd and have the source files intact, compile the module with ./configure -modupdate; make and copy to: /usr/lib/inspircd/modules/.

Starting/Stopping the daemon

Start or stop the inspircd systemd unit.

The first start fails sometimes so try restarting until you get no errors. After this you shall have no further problems. The reason behind this is because of security reasons the daemon doesn't run as root as you normally would see, so the script must ensure that the user irc has permission to write/read the pid and log files.

External links