Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump ↵ | Matthew Wild | 2010-08-28 | 1 | -1/+1 |
| | | | | module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) | ||||
* | mod_posix: Some (perhaps temporary) changes to re-lock the pidfile after ↵ | Matthew Wild | 2010-07-09 | 1 | -2/+6 |
| | | | | truncating, to avoid breaking prosodyctl | ||||
* | mod_posix: Truncate the pidfile before writing to ensure that we never ↵ | Brian Cully | 2010-07-09 | 1 | -0/+5 |
| | | | | overwrite with a PID shorter than the previous, and end with an invalid PID in the file. | ||||
* | Merge 0.7->trunk | Waqas Hussain | 2010-05-07 | 1 | -0/+1 |
|\ | |||||
| * | Merge 0.6->0.7 | Waqas Hussain | 2010-05-07 | 1 | -0/+1 |
| |\ | |||||
| | * | mod_posix: Fixed a global access. | Waqas Hussain | 2010-05-07 | 1 | -0/+1 |
| | | | |||||
* | | | mod_posix: Don't add a server-starting event handler while the ↵ | Waqas Hussain | 2010-05-07 | 1 | -10/+12 |
|/ / | | | | | | | server-starting event is being fired. | ||||
* | | Merge 0.6->0.7 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
|\| | |||||
| * | Update copyright headers for 2010 | Matthew Wild | 2010-03-22 | 1 | -2/+2 |
| | | |||||
| * | mod_posix: Adjust file open mode depending on whether file exists (take that ↵ | Matthew Wild | 2010-01-13 | 1 | -1/+3 |
| | | | | | | | | fopen designers!!!) | ||||
| * | mod_posix: Lock pidfile when in use, shut down if we can't write or lock the ↵ | Matthew Wild | 2010-01-10 | 1 | -12/+23 |
| | | | | | | | | pidfile | ||||
* | | mod_posix: Adjust file open mode depending on whether file exists (take that ↵ | Matthew Wild | 2010-01-13 | 1 | -1/+3 |
| | | | | | | | | fopen designers!!!) | ||||
* | | util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir | Matthew Wild | 2010-01-12 | 1 | -1/+1 |
| | | |||||
* | | mod_posix: Lock pidfile when in use, shut down if we can't write or lock the ↵ | Matthew Wild | 2010-01-10 | 1 | -12/+23 |
| | | | | | | | | pidfile | ||||
* | | mod_posix: Set umask to 'umask' from the config, or 027 | Matthew Wild | 2010-01-10 | 1 | -0/+3 |
| | | |||||
* | | util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in ↵ | Matthew Wild | 2010-01-10 | 1 | -1/+1 |
| | | | | | | | | mod_posix) | ||||
* | | mod_posix: Remove the lines added to work around the util.signal loop bug | Matthew Wild | 2010-01-10 | 1 | -2/+0 |
| | | |||||
* | | mod_posix: Fix to not loop in SIGTERM either, but the same happens with ↵ | Matthew Wild | 2009-12-08 | 1 | -1/+2 |
| | | | | | | | | SIGHUP (where the same 'fix' can't be applied) - shall investigate tomorrow | ||||
* | | mod_posix: Set empty SIGINT handler when a SIGINT is caught | Matthew Wild | 2009-12-08 | 1 | -0/+1 |
| | | |||||
* | | mod_posix: Catch SIGINT | Matthew Wild | 2009-12-07 | 1 | -0/+7 |
|/ | |||||
* | mod_posix: Log warning when no_daemonize is used, and instruct on how to ↵ | Matthew Wild | 2009-11-08 | 1 | -1/+6 |
| | | | | update config | ||||
* | mod_posix: Switch config option to 'daemonize', fall back to 'no_daemonize' ↵ | Matthew Wild | 2009-11-08 | 1 | -1/+6 |
| | | | | if not set, default behaviour remains the same... daemonize if mod_posix is loaded | ||||
* | Merge waqas with Tobias. Eww. | Matthew Wild | 2009-08-18 | 1 | -7/+6 |
|\ | |||||
| * | mod_posix: Updated to use module:get_option instead of configmanager | Waqas Hussain | 2009-08-13 | 1 | -4/+3 |
| | | |||||
* | | Shutdown prosody if changing user or group fails. | Tobias Markmann | 2009-08-15 | 1 | -4/+14 |
| | | |||||
* | | Make mod_posix not complain about root user, if setuid is set to something ↵ | Tobias Markmann | 2009-08-15 | 1 | -4/+7 |
| | | | | | | | | different as root. | ||||
* | | Add setuid and setgid support. | Tobias Markmann | 2009-08-15 | 1 | -0/+14 |
|/ | |||||
* | pposix, mod_posix: Bump pposix version number | Matthew Wild | 2009-07-23 | 1 | -1/+1 |
| | |||||
* | Add copyright header to those files missing one | Matthew Wild | 2009-07-10 | 1 | -0/+8 |
| | |||||
* | mod_posix: Use global prosody object | Matthew Wild | 2009-05-30 | 1 | -6/+8 |
| | |||||
* | mod_posix: Reload the config and reopen log files on SIGHUP | Matthew Wild | 2009-05-05 | 1 | -7/+9 |
| | |||||
* | mod_posix: Don't let the server run as root without the magic run_as_root in ↵ | Matthew Wild | 2009-05-02 | 1 | -0/+9 |
| | | | | config | ||||
* | mod_posix: Fix calls to log() (replace with module:log) and make some global ↵ | Matthew Wild | 2009-04-23 | 1 | -11/+11 |
| | | | | accesses explicit | ||||
* | mod_posix: Fix for removing the pidfile on exit | Matthew Wild | 2009-04-23 | 1 | -1/+1 |
| | |||||
* | mod_posix: Remove some debug coooooooooode | Matthew Wild | 2009-04-22 | 1 | -1/+0 |
| | |||||
* | mod_posix: Integrate with loggingmanager, register syslog sink, remove ↵ | Matthew Wild | 2009-04-22 | 1 | -36/+15 |
| | | | | redundant logging code | ||||
* | mod_posix: Remove pidfile on exit | Matthew Wild | 2009-04-22 | 1 | -1/+16 |
| | |||||
* | mod_posix: Allow logging and pidfile options to take effect without needing ↵ | Matthew Wild | 2009-04-12 | 1 | -45/+72 |
| | | | | to daemonize. Add the ability to catch SIGTERM. | ||||
* | mod_posix: logging fix | Matthew Wild | 2009-01-16 | 1 | -1/+1 |
| | |||||
* | Fix for pposix version detection | Matthew Wild | 2009-01-16 | 1 | -2/+2 |
| | |||||
* | mod_posix: Check version of pposix | Matthew Wild | 2009-01-16 | 1 | -0/+4 |
| | |||||
* | mod_posix/pposix: Fix reporting of incorrect PID on daemonization. Log ↵ | Matthew Wild | 2009-01-15 | 1 | -2/+12 |
| | | | | correct PID, and support writing a pidfile (pidfile = '/path/to/prosody.pid' in config). Added getpid() to pposix and improved function names. | ||||
* | mod_posix: Support for logging to syslog (log = 'syslog' in config) | Matthew Wild | 2009-01-15 | 1 | -1/+11 |
| | |||||
* | Small logging adjustment for mod_posix | Matthew Wild | 2008-12-07 | 1 | -3/+1 |
| | |||||
* | Add mod_posix, fixes #5 | Matthew Wild | 2008-12-06 | 1 | -0/+50 |