aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_posix: Use path variant of config API for pidfile optionKim Alvefur2017-03-211-1/+1
|
* mod_posix: Use type-specific config APIKim Alvefur2016-11-201-1/+1
|
* mod_posix: Detect failure to load util.signal by first pcall return value ↵Kim Alvefur2015-09-261-3/+3
| | | | not by type of the second
* mod_posix: Normalize indentationKim Alvefur2015-09-261-19/+19
|
* Merge 0.9->0.10Matthew Wild2014-08-281-1/+1
|\
| * mod_posix: Make sure that 'pidfile' is a stringKim Alvefur2014-08-261-1/+1
| |
* | mod_posix: Remove compat code for 0.5Kim Alvefur2014-04-101-8/+0
| |
* | mod_posix: Daemonize by default only when installedKim Alvefur2014-01-261-1/+1
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-2/+2
|/
* mod_posix: Improve error message for a pposix version mismatchMatthew Wild2013-04-081-1/+3
|
* mod_posix, util.pposix: Bump version for API changeMatthew Wild2013-04-081-1/+1
|
* 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
|