aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_posix.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_posix: Remove ancient undocumented user switchingKim Alvefur2020-08-241-31/+4
| | | | | | | | | | | | | | User switching has been done by prosodyctl or init scripts for a very long time now, so this is not needed. Using this would not have worked with module reloading (e.g. to reload certificates) since ports are closed and re-bound, which would then not be allowed. Today there exists better ways to grant low ports, i.e. capabilities(7) <Zash> Why do we have this? <MattJ> Remove it
* mod_posix: Add deprecation warning for the 'daemonize' optionKim Alvefur2020-01-261-1/+5
|
* Merge 0.11->trunkMatthew Wild2020-01-191-1/+6
|\
| * mod_posix: Support for command-line flags to override 'daemonize' config optionMatthew Wild2020-01-191-1/+6
| | | | | | | | | | -D / --daemonize -F / --no-daemonize
* | mod_posix: Remove unnecessary import of util.format (thanks luacheck and ↵Matthew Wild2019-03-261-1/+0
| | | | | | | | buildbot)
* | loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way)Matthew Wild2019-03-261-13/+0
|/
* mod_posix: Don't reload logging twiceKim Alvefur2019-01-061-1/+1
| | | | See 18eca6afb367
* mod_posix: Delay setting signal handlers until in the main threadMatthew Wild2018-03-221-18/+20
| | | | Signal handlers work by setting a debug hook. Hooks are per-thread, so we need this to be called in the main thread. However module loading is not in the main thread anymore.
* Merge 0.10->trunkKim Alvefur2017-09-141-6/+3
|\
| * loggingmanager, mod_posix: Import util.format correctly (fixes #985)Kim Alvefur2017-09-111-1/+1
| |
| * loggingmanager, mod_posix: Replace the old inconsistent log formatting with ↵Waqas Hussain2017-09-101-6/+3
| | | | | | | | the new util.format
* | Merge 0.10->trunkKim Alvefur2017-06-131-2/+3
|\|
| * mod_posix: Ignore currently unused argument [luacheck]Kim Alvefur2017-06-131-1/+1
| |
| * mod_posix: Split long line [luacheck]Kim Alvefur2017-06-131-1/+2
| |
* | Merge 0.10->trunkKim Alvefur2017-04-241-1/+1
|\|
| * mod_posix: Use typed config APIKim Alvefur2017-04-221-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-03-281-1/+1
|\|
| * util.pposix: Remove fallocateKim Alvefur2017-02-281-1/+1
| |
| * util.pposix: Add function for atomically appending data to a fileKim Alvefur2017-03-011-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2017-03-231-1/+1
|\|
| * mod_posix: Use path variant of config API for pidfile optionKim Alvefur2017-03-211-1/+1
| |
* | Merge 0.10->trunkKim Alvefur2016-11-211-1/+1
|\|
| * mod_posix: Use type-specific config APIKim Alvefur2016-11-201-1/+1
| |
* | Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-161-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
| | |