ngircd-tor/contrib
Alexander Barton 8ab097afb7 Implement support for systemd(8) "socket activation"
This patch enables ngIRCd to work with listening sockets already
initialized and passed-in by systemd(8) and hereby to support on-demand
"socket activation".

systemd(8) uses two environment variables to pass information about the
sockets to ngIRCd, LISTEN_PID and LISTEN_FDS, and this mechanism only
kicks in when both variables are set. In all other cases, and therefore
in most installations out there, nothing changes at all.

Please note:
If socket activation is in effect, ngIRCd will not initialize any (other)
soeckets on its own! All sockets must be configured in the systemd(8)
socket unit configuration file in this case, see ./contrib/ngircd.socket
for example.

Probably it would be interesting to match passed-in sockets to configured
listening sockets and to initialize all the remaining ones not already
set up by systemd(8), but this is kept back for an other patch ...

See
 - <http://0pointer.de/blog/projects/socket-activation.html>
 - <http://0pointer.de/blog/projects/socket-activation2.html>
 - <http://www.freedesktop.org/software/systemd/man/systemd.socket.html>
2013-02-04 21:52:27 +01:00
..
Debian contrib/Debian/rules: Do no compress Commands.txt 2013-01-23 19:55:56 +01:00
MacOSX Merge branch 'bug145-ProvideHelp' 2013-01-02 23:41:46 +01:00
Makefile.am Implement support for systemd(8) "socket activation" 2013-02-04 21:52:27 +01:00
README Implement support for systemd(8) "socket activation" 2013-02-04 21:52:27 +01:00
ngIRCd-Logo.gif Mac OS X: update installer texts and add logo. 2011-04-14 11:24:07 +02:00
ngindent contrib/ngindent: detect "gindent" as GNU indent 2011-08-01 23:39:29 +02:00
ngircd-bsd.sh Renamed contrib/ngircd.sh to contrib/ngircd-bsd.sh 2009-05-05 11:41:26 +02:00
ngircd-redhat.init contrib/ngircd-redhat.init: updated email address of Naoya Nakazawa 2010-11-07 14:18:04 +01:00
ngircd.service ngircd.service: Use "forking" service type 2013-01-23 00:44:16 +01:00
ngircd.socket Implement support for systemd(8) "socket activation" 2013-02-04 21:52:27 +01:00
ngircd.spec ngIRCd Release 20.1 2013-01-02 22:37:55 +01:00
platformtest.sh platformtest.sh: Only generate configure script when missing 2012-11-13 23:21:09 +01:00
systrace.policy systrace policy for OpenBSD/NetBSD, thanks to Benjamin Pineau <ben@zouh.org> 2004-04-28 12:16:59 +00:00

README

                     ngIRCd - Next Generation IRC Server
                           http://ngircd.barton.de/

               (c)2001-2013 Alexander Barton and Contributors.
               ngIRCd is free software and published under the
                   terms of the GNU General Public License.

                             -- Contributions --


Debian/
 - Various files for building Debian GNU/Linux packages (".deb's").
	- ngircd.init; ngircd.default: init script for Debian-based systems.
	- ngircd.pam: example PAM configuraton.

MacOSX/
 - Project files for XCode, the "project builder" of Apple Mac OS X.
	- de.barton.ngircd.plist[.tmpl]: launchd(8) property list.

ngindent
 - Script to indent the code of ngIRCd in the "standard way".

ngircd-bsd.sh
 - Start script for FreeBSD.

ngircd-redhat.init
 - Start/stop script for RedHat-based distributions (like CentOS).

ngircd.service
 - systemd(8) service unit configuration file.

ngircd.socket
 - systemd(8) socket unit configuration file for "socket activation".

ngircd.spec
 - RPM "spec" file.

platformtest.sh
 - Build ngIRCd and output a "result line" suitable for doc/Platforms.txt.

systrace.policy
 - Systrace policy file for OpenBSD (and probably NetBSD).