Log

plugins/mod_posix.lua @ 3772:e1f6fe098404

description author age
mod_posix: Remove redundant import of logger.setwriter() Matthew Wild Thu, 04 Nov 2010 08:41:24 +0000
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
mod_posix: Updated to use the new events API. Waqas Hussain Sat, 16 Oct 2010 07:45:12 +0500
util.pposix: Add pposix.uname(), bump version Matthew Wild Tue, 31 Aug 2010 15:14:39 +0100
util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) Matthew Wild Sat, 28 Aug 2010 14:31:48 +0100
mod_posix: Some (perhaps temporary) changes to re-lock the pidfile after truncating, to avoid breaking prosodyctl Matthew Wild Fri, 09 Jul 2010 01:23:54 +0100
mod_posix: Truncate the pidfile before writing to ensure that we never overwrite with a PID shorter than the previous, and end with an invalid PID in the file. Brian Cully Fri, 09 Jul 2010 01:16:09 +0100
Merge 0.7->trunk Waqas Hussain Fri, 07 May 2010 16:21:04 +0500
Merge 0.6->0.7 Waqas Hussain Fri, 07 May 2010 16:17:48 +0500
mod_posix: Fixed a global access. Waqas Hussain Fri, 07 May 2010 16:04:45 +0500
mod_posix: Don't add a server-starting event handler while the server-starting event is being fired. Waqas Hussain Fri, 07 May 2010 07:18:09 +0500
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
mod_posix: Adjust file open mode depending on whether file exists (take that fopen designers!!!) Matthew Wild Wed, 13 Jan 2010 00:03:22 +0000
mod_posix: Lock pidfile when in use, shut down if we can't write or lock the pidfile Matthew Wild Sun, 10 Jan 2010 23:49:38 +0000
mod_posix: Adjust file open mode depending on whether file exists (take that fopen designers!!!) Matthew Wild Wed, 13 Jan 2010 00:03:22 +0000
util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir Matthew Wild Tue, 12 Jan 2010 15:35:36 +0000
mod_posix: Lock pidfile when in use, shut down if we can't write or lock the pidfile Matthew Wild Sun, 10 Jan 2010 23:49:38 +0000
mod_posix: Set umask to 'umask' from the config, or 027 Matthew Wild Sun, 10 Jan 2010 22:15:15 +0000
util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in mod_posix) Matthew Wild Sun, 10 Jan 2010 21:48:25 +0000
mod_posix: Remove the lines added to work around the util.signal loop bug Matthew Wild Sun, 10 Jan 2010 14:09:17 +0000
mod_posix: Fix to not loop in SIGTERM either, but the same happens with SIGHUP (where the same 'fix' can't be applied) - shall investigate tomorrow Matthew Wild Tue, 08 Dec 2009 01:24:16 +0000
mod_posix: Set empty SIGINT handler when a SIGINT is caught Matthew Wild Tue, 08 Dec 2009 01:16:24 +0000
mod_posix: Catch SIGINT Matthew Wild Mon, 07 Dec 2009 18:38:35 +0000
mod_posix: Log warning when no_daemonize is used, and instruct on how to update config Matthew Wild Sun, 08 Nov 2009 15:25:03 +0000
mod_posix: Switch config option to 'daemonize', fall back to 'no_daemonize' if not set, default behaviour remains the same... daemonize if mod_posix is loaded Matthew Wild Sun, 08 Nov 2009 15:10:44 +0000
Merge waqas with Tobias. Eww. Matthew Wild Tue, 18 Aug 2009 13:03:35 +0100
mod_posix: Updated to use module:get_option instead of configmanager Waqas Hussain Thu, 13 Aug 2009 16:55:44 +0500
Shutdown prosody if changing user or group fails. Tobias Markmann Sat, 15 Aug 2009 12:30:43 +0200
Make mod_posix not complain about root user, if setuid is set to something different as root. Tobias Markmann Sat, 15 Aug 2009 12:19:07 +0200
Add setuid and setgid support. Tobias Markmann Sat, 15 Aug 2009 12:17:27 +0200
pposix, mod_posix: Bump pposix version number Matthew Wild Thu, 23 Jul 2009 03:47:06 +0100
Add copyright header to those files missing one Matthew Wild Fri, 10 Jul 2009 03:08:38 +0100
mod_posix: Use global prosody object Matthew Wild Sat, 30 May 2009 14:05:42 +0100
Merge with 0.4 Matthew Wild Tue, 05 May 2009 14:20:26 +0100
mod_posix: Reload the config and reopen log files on SIGHUP Matthew Wild Tue, 05 May 2009 14:19:45 +0100
Merge with 0.4 Matthew Wild Sun, 03 May 2009 01:11:21 +0100
mod_posix: Don't let the server run as root without the magic run_as_root in config Matthew Wild Sat, 02 May 2009 20:32:43 +0100
Merge with 0.4 Matthew Wild Wed, 29 Apr 2009 02:08:55 +0100
mod_posix: Fix calls to log() (replace with module:log) and make some global accesses explicit Matthew Wild Thu, 23 Apr 2009 21:35:24 +0100
mod_posix: Fix for removing the pidfile on exit Matthew Wild Thu, 23 Apr 2009 21:34:03 +0100
Merge with 0.4 branch Matthew Wild Thu, 23 Apr 2009 03:28:35 +0100
mod_posix: Remove some debug coooooooooode Matthew Wild Wed, 22 Apr 2009 21:42:19 +0100
mod_*: Fix a load of global accesses Matthew Wild Wed, 22 Apr 2009 21:32:23 +0100
mod_posix: Integrate with loggingmanager, register syslog sink, remove redundant logging code Matthew Wild Wed, 22 Apr 2009 20:01:19 +0100
mod_posix: Remove pidfile on exit Matthew Wild Wed, 22 Apr 2009 19:59:58 +0100
mod_posix: Allow logging and pidfile options to take effect without needing to daemonize. Add the ability to catch SIGTERM. Matthew Wild Sun, 12 Apr 2009 02:57:52 +0100
mod_posix: logging fix Matthew Wild Fri, 16 Jan 2009 05:41:59 +0000
Fix for pposix version detection Matthew Wild Fri, 16 Jan 2009 05:40:40 +0000
mod_posix: Check version of pposix Matthew Wild Fri, 16 Jan 2009 05:18:38 +0000
mod_posix/pposix: Fix reporting of incorrect PID on daemonization. Log correct PID, and support writing a pidfile (pidfile = '/path/to/prosody.pid' in config). Added getpid() to pposix and improved function names. Matthew Wild Thu, 15 Jan 2009 20:59:36 +0000
mod_posix: Support for logging to syslog (log = 'syslog' in config) Matthew Wild Thu, 15 Jan 2009 20:06:41 +0000
Small logging adjustment for mod_posix Matthew Wild Sun, 07 Dec 2008 03:12:56 +0000
Add mod_posix, fixes #5 Matthew Wild Sat, 06 Dec 2008 23:21:55 +0000