Log

plugins/mod_posix.lua @ 12627:b8ce0f61855b

description author age
mod_posix: Run signal handlers in the startup thread Kim Alvefur 2021-10-06
mod_posix: Exit with non-zero status code on problems Kim Alvefur 2021-09-30
mod_posix: Hook and fire events on SIGUSR1/2 Matthew Wild 2020-10-16
mod_posix: Daemonize later Kim Alvefur 2020-09-08
mod_posix: Remove ancient undocumented user switching Kim Alvefur 2020-08-24
mod_posix: Add deprecation warning for the 'daemonize' option Kim Alvefur 2020-01-26
Merge 0.11->trunk Matthew Wild 2020-01-19
mod_posix: Support for command-line flags to override 'daemonize' config option 0.11 Matthew Wild 2020-01-19
mod_posix: Remove unnecessary import of util.format (thanks luacheck and buildbot) Matthew Wild 2019-03-26
loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way) Matthew Wild 2019-03-26
mod_posix: Don't reload logging twice 0.11 Kim Alvefur 2019-01-06
mod_posix: Delay setting signal handlers until in the main thread Matthew Wild 2018-03-22
Merge 0.10->trunk Kim Alvefur 2017-09-14
loggingmanager, mod_posix: Import util.format correctly (fixes #985) Kim Alvefur 2017-09-11
loggingmanager, mod_posix: Replace the old inconsistent log formatting with the new util.format Waqas Hussain 2017-09-10
Merge 0.10->trunk Kim Alvefur 2017-06-13
mod_posix: Ignore currently unused argument [luacheck] Kim Alvefur 2017-06-13
mod_posix: Split long line [luacheck] Kim Alvefur 2017-06-13
Merge 0.10->trunk Kim Alvefur 2017-04-24
mod_posix: Use typed config API Kim Alvefur 2017-04-22
Merge 0.10->trunk Kim Alvefur 2017-03-28
util.pposix: Remove fallocate Kim Alvefur 2017-02-28
util.pposix: Add function for atomically appending data to a file Kim Alvefur 2017-03-01
Merge 0.10->trunk Kim Alvefur 2017-03-23
mod_posix: Use path variant of config API for pidfile option Kim Alvefur 2017-03-21
Merge 0.10->trunk Kim Alvefur 2016-11-21
mod_posix: Use type-specific config API Kim Alvefur 2016-11-20
Update every link to the documentation to use HTTPS Emmanuel Gil Peyrot 2016-04-16
mod_posix: Detect failure to load util.signal by first pcall return value not by type of the second Kim Alvefur 2015-09-26
mod_posix: Normalize indentation Kim Alvefur 2015-09-26
Merge 0.9->0.10 Matthew Wild 2014-08-28
mod_posix: Make sure that 'pidfile' is a string Kim Alvefur 2014-08-26
mod_posix: Remove compat code for 0.5 Kim Alvefur 2014-04-09
mod_posix: Daemonize by default only when installed Kim Alvefur 2014-01-26
Remove all trailing whitespace Florian Zeitz 2013-08-09
mod_posix: Improve error message for a pposix version mismatch Matthew Wild 2013-04-08
mod_posix, util.pposix: Bump version for API change Matthew Wild 2013-04-08
mod_posix: Pass logger name to syslog, so that sources now get logged Matthew Wild 2013-04-08
mod_posix: Log a message explaining that we are detaching from the console Kim Alvefur 2012-11-11
mod_posix: Remove console and stdout logging sinks before daemonizing Kim Alvefur 2012-11-10
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages Matthew Wild 2012-07-23
Merge 0.9->trunk Matthew Wild 2012-04-29
mod_posix: Support syslog_facility config option Matthew Wild 2012-04-26
mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global() Kim Alvefur 2012-03-15
mod_posix: Remove redundant import of logger.setwriter() Matthew Wild 2010-11-04
Monster whitespace commit (beware the whitespace monster). Waqas Hussain 2010-10-16
mod_posix: Updated to use the new events API. Waqas Hussain 2010-10-16
util.pposix: Add pposix.uname(), bump version Matthew Wild 2010-08-31
util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) Matthew Wild 2010-08-28
mod_posix: Some (perhaps temporary) changes to re-lock the pidfile after truncating, to avoid breaking prosodyctl Matthew Wild 2010-07-09
mod_posix: Truncate the pidfile before writing to ensure that we never overwrite with a PID shorter than the previous, and end with an invalid PID in the file. Brian Cully 2010-07-09
Merge 0.7->trunk Waqas Hussain 2010-05-07
Merge 0.6->0.7 Waqas Hussain 2010-05-07
mod_posix: Fixed a global access. Waqas Hussain 2010-05-07
mod_posix: Don't add a server-starting event handler while the server-starting event is being fired. Waqas Hussain 2010-05-07
Merge 0.6->0.7 Matthew Wild 2010-03-22
Update copyright headers for 2010 Matthew Wild 2010-03-22
mod_posix: Adjust file open mode depending on whether file exists (take that fopen designers!!!) Matthew Wild 2010-01-13
mod_posix: Lock pidfile when in use, shut down if we can't write or lock the pidfile Matthew Wild 2010-01-10
mod_posix: Adjust file open mode depending on whether file exists (take that fopen designers!!!) Matthew Wild 2010-01-13
util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir Matthew Wild 2010-01-12
mod_posix: Lock pidfile when in use, shut down if we can't write or lock the pidfile Matthew Wild 2010-01-10
mod_posix: Set umask to 'umask' from the config, or 027 Matthew Wild 2010-01-10
util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in mod_posix) Matthew Wild 2010-01-10
mod_posix: Remove the lines added to work around the util.signal loop bug Matthew Wild 2010-01-10
mod_posix: Fix to not loop in SIGTERM either, but the same happens with SIGHUP (where the same 'fix' can't be applied) - shall investigate tomorrow Matthew Wild 2009-12-08
mod_posix: Set empty SIGINT handler when a SIGINT is caught Matthew Wild 2009-12-08
mod_posix: Catch SIGINT Matthew Wild 2009-12-07
mod_posix: Log warning when no_daemonize is used, and instruct on how to update config Matthew Wild 2009-11-08
mod_posix: Switch config option to 'daemonize', fall back to 'no_daemonize' if not set, default behaviour remains the same... daemonize if mod_posix is loaded Matthew Wild 2009-11-08
Merge waqas with Tobias. Eww. Matthew Wild 2009-08-18
mod_posix: Updated to use module:get_option instead of configmanager Waqas Hussain 2009-08-13
Shutdown prosody if changing user or group fails. Tobias Markmann 2009-08-15
Make mod_posix not complain about root user, if setuid is set to something different as root. Tobias Markmann 2009-08-15
Add setuid and setgid support. Tobias Markmann 2009-08-15
pposix, mod_posix: Bump pposix version number Matthew Wild 2009-07-23
Add copyright header to those files missing one Matthew Wild 2009-07-10
mod_posix: Use global prosody object Matthew Wild 2009-05-30
Merge with 0.4 Matthew Wild 2009-05-05
mod_posix: Reload the config and reopen log files on SIGHUP Matthew Wild 2009-05-05
Merge with 0.4 Matthew Wild 2009-05-03
mod_posix: Don't let the server run as root without the magic run_as_root in config Matthew Wild 2009-05-02
Merge with 0.4 Matthew Wild 2009-04-29
mod_posix: Fix calls to log() (replace with module:log) and make some global accesses explicit Matthew Wild 2009-04-23
mod_posix: Fix for removing the pidfile on exit Matthew Wild 2009-04-23
Merge with 0.4 branch Matthew Wild 2009-04-23
mod_posix: Remove some debug coooooooooode Matthew Wild 2009-04-22
mod_*: Fix a load of global accesses Matthew Wild 2009-04-22
mod_posix: Integrate with loggingmanager, register syslog sink, remove redundant logging code Matthew Wild 2009-04-22
mod_posix: Remove pidfile on exit Matthew Wild 2009-04-22
mod_posix: Allow logging and pidfile options to take effect without needing to daemonize. Add the ability to catch SIGTERM. Matthew Wild 2009-04-12
mod_posix: logging fix Matthew Wild 2009-01-16
Fix for pposix version detection Matthew Wild 2009-01-16
mod_posix: Check version of pposix Matthew Wild 2009-01-16
mod_posix/pposix: Fix reporting of incorrect PID on daemonization. Log correct PID, and support writing a pidfile (pidfile = '/path/to/prosody.pid' in config). Added getpid() to pposix and improved function names. Matthew Wild 2009-01-15
mod_posix: Support for logging to syslog (log = 'syslog' in config) Matthew Wild 2009-01-15
Small logging adjustment for mod_posix Matthew Wild 2008-12-07
Add mod_posix, fixes #5 Matthew Wild 2008-12-06