aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_posix: Pass logger name to syslog, so that sources now get loggedMatthew Wild2013-04-081-2/+2
|
* mod_posix: Log a message explaining that we are detaching from the consoleKim Alvefur2012-11-111-0/+1
|
* mod_posix: Remove console and stdout logging sinks before daemonizingKim Alvefur2012-11-101-0/+8
|
* Hopefully inert commit to clean up logging across a number of modules, ↵Matthew Wild2012-07-231-6/+6
| | | | removing all cases of concatenation when building log messages
* Merge 0.9->trunkMatthew Wild2012-04-291-1/+1
|\
| * mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()Kim Alvefur2012-03-151-1/+1
| |
* | mod_posix: Support syslog_facility config optionMatthew Wild2012-04-261-1/+1
|/
* mod_posix: Remove redundant import of logger.setwriter()Matthew Wild2010-11-041-2/+0
|
* Monster whitespace commit (beware the whitespace monster).Waqas Hussain2010-10-161-7/+7
|
* mod_posix: Updated to use the new events API.Waqas Hussain2010-10-161-2/+2
|
* util.pposix: Add pposix.uname(), bump versionMatthew Wild2010-08-311-1/+1
|
* util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump ↵Matthew Wild2010-08-281-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 Wild2010-07-091-2/+6
| | | | truncating, to avoid breaking prosodyctl
* mod_posix: Truncate the pidfile before writing to ensure that we never ↵Brian Cully2010-07-091-0/+5
| | | | overwrite with a PID shorter than the previous, and end with an invalid PID in the file.
* Merge 0.7->trunkWaqas Hussain2010-05-071-0/+1
|\
| * Merge 0.6->0.7Waqas Hussain2010-05-071-0/+1
| |\
| | * mod_posix: Fixed a global access.Waqas Hussain2010-05-071-0/+1
| | |
* | | mod_posix: Don't add a server-starting event handler while the ↵Waqas Hussain2010-05-071-10/+12
|/ / | | | | | | server-starting event is being fired.
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * mod_posix: Adjust file open mode depending on whether file exists (take that ↵Matthew Wild2010-01-131-1/+3
| | | | | | | | fopen designers!!!)
| * mod_posix: Lock pidfile when in use, shut down if we can't write or lock the ↵Matthew Wild2010-01-101-12/+23
| | | | | | | | pidfile
* | mod_posix: Adjust file open mode depending on whether file exists (take that ↵Matthew Wild2010-01-131-1/+3
| | | | | | | | fopen designers!!!)
* | util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdirMatthew Wild2010-01-121-1/+1
| |
* | mod_posix: Lock pidfile when in use, shut down if we can't write or lock the ↵Matthew Wild2010-01-101-12/+23
| | | | | | | | pidfile
* | mod_posix: Set umask to 'umask' from the config, or 027Matthew Wild2010-01-101-0/+3
| |
* | util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in ↵Matthew Wild2010-01-101-1/+1
| | | | | | | | mod_posix)
* | mod_posix: Remove the lines added to work around the util.signal loop bugMatthew Wild2010-01-101-2/+0
| |
* | mod_posix: Fix to not loop in SIGTERM either, but the same happens with ↵Matthew Wild2009-12-081-1/+2
| | | | | | | | SIGHUP (where the same 'fix' can't be applied) - shall investigate tomorrow
* | mod_posix: Set empty SIGINT handler when a SIGINT is caughtMatthew Wild2009-12-081-0/+1
| |
* | mod_posix: Catch SIGINTMatthew Wild2009-12-071-0/+7
|/
* mod_posix: Log warning when no_daemonize is used, and instruct on how to ↵Matthew Wild2009-11-081-1/+6
| | | | update config
* mod_posix: Switch config option to 'daemonize', fall back to 'no_daemonize' ↵Matthew Wild2009-11-081-1/+6
| | | | if not set, default behaviour remains the same... daemonize if mod_posix is loaded
* Merge waqas with Tobias. Eww.Matthew Wild2009-08-181-7/+6
|\
| * mod_posix: Updated to use module:get_option instead of configmanagerWaqas Hussain2009-08-131-4/+3
| |
* | Shutdown prosody if changing user or group fails.Tobias Markmann2009-08-151-4/+14
| |
* | Make mod_posix not complain about root user, if setuid is set to something ↵Tobias Markmann2009-08-151-4/+7
| | | | | | | | different as root.
* | Add setuid and setgid support.Tobias Markmann2009-08-151-0/+14
|/
* pposix, mod_posix: Bump pposix version numberMatthew Wild2009-07-231-1/+1
|
* Add copyright header to those files missing oneMatthew Wild2009-07-101-0/+8
|
* mod_posix: Use global prosody objectMatthew Wild2009-05-301-6/+8
|
* mod_posix: Reload the config and reopen log files on SIGHUPMatthew Wild2009-05-051-7/+9
|
* mod_posix: Don't let the server run as root without the magic run_as_root in ↵Matthew Wild2009-05-021-0/+9
| | | | config
* mod_posix: Fix calls to log() (replace with module:log) and make some global ↵Matthew Wild2009-04-231-11/+11
| | | | accesses explicit
* mod_posix: Fix for removing the pidfile on exitMatthew Wild2009-04-231-1/+1
|
* mod_posix: Remove some debug coooooooooodeMatthew Wild2009-04-221-1/+0
|
* mod_posix: Integrate with loggingmanager, register syslog sink, remove ↵Matthew Wild2009-04-221-36/+15
| | | | redundant logging code
* mod_posix: Remove pidfile on exitMatthew Wild2009-04-221-1/+16
|
* mod_posix: Allow logging and pidfile options to take effect without needing ↵Matthew Wild2009-04-121-45/+72
| | | | to daemonize. Add the ability to catch SIGTERM.
* mod_posix: logging fixMatthew Wild2009-01-161-1/+1
|