Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mod_posix: Run signal handlers in the startup thread | Kim Alvefur | 2021-10-06 | 1 | -7/+13 |
| | |||||
* | mod_posix: Exit with non-zero status code on problems | Kim Alvefur | 2021-09-30 | 1 | -4/+4 |
| | | | | | Previously it would default to exit with 0 as status code, meaning success, which is weird. | ||||
* | mod_posix: Hook and fire events on SIGUSR1/2 | Matthew Wild | 2020-10-16 | 1 | -0/+15 |
| | |||||
* | mod_posix: Daemonize later | Kim Alvefur | 2020-09-08 | 1 | -3/+1 |
| | | | | | Daemonizing later means we can use that as a "successful startup" signal and problems can be reported via exit code. | ||||
* | mod_posix: Remove ancient undocumented user switching | Kim Alvefur | 2020-08-24 | 1 | -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' option | Kim Alvefur | 2020-01-26 | 1 | -1/+5 |
| | |||||
* | Merge 0.11->trunk | Matthew Wild | 2020-01-19 | 1 | -1/+6 |
|\ | |||||
| * | mod_posix: Support for command-line flags to override 'daemonize' config option | Matthew Wild | 2020-01-19 | 1 | -1/+6 |
| | | | | | | | | | | -D / --daemonize -F / --no-daemonize | ||||
* | | mod_posix: Remove unnecessary import of util.format (thanks luacheck and ↵ | Matthew Wild | 2019-03-26 | 1 | -1/+0 |
| | | | | | | | | buildbot) | ||||
* | | loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way) | Matthew Wild | 2019-03-26 | 1 | -13/+0 |
|/ | |||||
* | mod_posix: Don't reload logging twice | Kim Alvefur | 2019-01-06 | 1 | -1/+1 |
| | | | | See 18eca6afb367 | ||||
* | mod_posix: Delay setting signal handlers until in the main thread | Matthew Wild | 2018-03-22 | 1 | -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->trunk | Kim Alvefur | 2017-09-14 | 1 | -6/+3 |
|\ | |||||
| * | loggingmanager, mod_posix: Import util.format correctly (fixes #985) | Kim Alvefur | 2017-09-11 | 1 | -1/+1 |
| | | |||||
| * | loggingmanager, mod_posix: Replace the old inconsistent log formatting with ↵ | Waqas Hussain | 2017-09-10 | 1 | -6/+3 |
| | | | | | | | | the new util.format | ||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-06-13 | 1 | -2/+3 |
|\| | |||||
| * | mod_posix: Ignore currently unused argument [luacheck] | Kim Alvefur | 2017-06-13 | 1 | -1/+1 |
| | | |||||
| * | mod_posix: Split long line [luacheck] | Kim Alvefur | 2017-06-13 | 1 | -1/+2 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-04-24 | 1 | -1/+1 |
|\| | |||||
| * | mod_posix: Use typed config API | Kim Alvefur | 2017-04-22 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-03-28 | 1 | -1/+1 |
|\| | |||||
| * | util.pposix: Remove fallocate | Kim Alvefur | 2017-02-28 | 1 | -1/+1 |
| | | |||||
| * | util.pposix: Add function for atomically appending data to a file | Kim Alvefur | 2017-03-01 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2017-03-23 | 1 | -1/+1 |
|\| | |||||
| * | mod_posix: Use path variant of config API for pidfile option | Kim Alvefur | 2017-03-21 | 1 | -1/+1 |
| | | |||||
* | | Merge 0.10->trunk | Kim Alvefur | 2016-11-21 | 1 | -1/+1 |
|\| | |||||
| * | mod_posix: Use type-specific config API | Kim Alvefur | 2016-11-20 | 1 | -1/+1 |
| | | |||||
* | | Update every link to the documentation to use HTTPS | Emmanuel Gil Peyrot | 2016-04-16 | 1 | -1/+1 |
|/ | |||||
* | mod_posix: Detect failure to load util.signal by first pcall return value ↵ | Kim Alvefur | 2015-09-26 | 1 | -3/+3 |
| | | | | not by type of the second | ||||
* | mod_posix: Normalize indentation | Kim Alvefur | 2015-09-26 | 1 | -19/+19 |
| | |||||
* | Merge 0.9->0.10 | Matthew Wild | 2014-08-28 | 1 | -1/+1 |
|\ | |||||
| * | mod_posix: Make sure that 'pidfile' is a string | Kim Alvefur | 2014-08-26 | 1 | -1/+1 |
| | | |||||
* | | mod_posix: Remove compat code for 0.5 | Kim Alvefur | 2014-04-10 | 1 | -8/+0 |
| | | |||||
* | | mod_posix: Daemonize by default only when installed | Kim Alvefur | 2014-01-26 | 1 | -1/+1 |
| | | |||||
* | | Remove all trailing whitespace | Florian Zeitz | 2013-08-09 | 1 | -2/+2 |
|/ | |||||
* | mod_posix: Improve error message for a pposix version mismatch | Matthew Wild | 2013-04-08 | 1 | -1/+3 |
| | |||||
* | mod_posix, util.pposix: Bump version for API change | Matthew Wild | 2013-04-08 | 1 | -1/+1 |
| | |||||
* | mod_posix: Pass logger name to syslog, so that sources now get logged | Matthew Wild | 2013-04-08 | 1 | -2/+2 |
| | |||||
* | mod_posix: Log a message explaining that we are detaching from the console | Kim Alvefur | 2012-11-11 | 1 | -0/+1 |
| | |||||
* | mod_posix: Remove console and stdout logging sinks before daemonizing | Kim Alvefur | 2012-11-10 | 1 | -0/+8 |
| | |||||
* | Hopefully inert commit to clean up logging across a number of modules, ↵ | Matthew Wild | 2012-07-23 | 1 | -6/+6 |
| | | | | removing all cases of concatenation when building log messages | ||||
* | Merge 0.9->trunk | Matthew Wild | 2012-04-29 | 1 | -1/+1 |
|\ | |||||
| * | mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global() | Kim Alvefur | 2012-03-15 | 1 | -1/+1 |
| | | |||||
* | | mod_posix: Support syslog_facility config option | Matthew Wild | 2012-04-26 | 1 | -1/+1 |
|/ | |||||
* | mod_posix: Remove redundant import of logger.setwriter() | Matthew Wild | 2010-11-04 | 1 | -2/+0 |
| | |||||
* | Monster whitespace commit (beware the whitespace monster). | Waqas Hussain | 2010-10-16 | 1 | -7/+7 |
| | |||||
* | mod_posix: Updated to use the new events API. | Waqas Hussain | 2010-10-16 | 1 | -2/+2 |
| | |||||
* | util.pposix: Add pposix.uname(), bump version | Matthew Wild | 2010-08-31 | 1 | -1/+1 |
| | |||||
* | 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 |