Commit Graph

88 Commits (2bee026da736b4dba4a032bc769a5b487f71242b)

Author SHA1 Message Date
Matthew Wild 37ba5f795f mod_posix: Support for command-line flags to override 'daemonize' config option 6 years ago
Kim Alvefur 56290868a1 mod_posix: Add deprecation warning for the 'daemonize' option 6 years ago
Kim Alvefur 2c8b0b8060 mod_posix: Don't reload logging twice 7 years ago
Kim Alvefur f125342f41 loggingmanager, mod_posix: Import util.format correctly (fixes #985) 8 years ago
Waqas Hussain 79acb207db loggingmanager, mod_posix: Replace the old inconsistent log formatting with the new util.format 8 years ago
Kim Alvefur f8aad6ad60 mod_posix: Ignore currently unused argument [luacheck] 9 years ago
Kim Alvefur 60a5d606c6 mod_posix: Split long line [luacheck] 9 years ago
Kim Alvefur e8c521be36 mod_posix: Use typed config API 9 years ago
Matthew Wild 3422903267 mod_posix: Delay setting signal handlers until in the main thread 8 years ago
Kim Alvefur a026db251d mod_posix: Use path variant of config API for pidfile option 9 years ago
Kim Alvefur e7a2ecb01e util.pposix: Remove fallocate 9 years ago
Kim Alvefur 6e638c213f util.pposix: Add function for atomically appending data to a file 9 years ago
Kim Alvefur 18f15461de mod_posix: Use type-specific config API 9 years ago
Emmanuel Gil Peyrot bbf1653e04 Update every link to the documentation to use HTTPS 10 years ago
Kim Alvefur c04b24d70b mod_posix: Detect failure to load util.signal by first pcall return value not by type of the second 10 years ago
Kim Alvefur af84a2e79b mod_posix: Normalize indentation 10 years ago
Kim Alvefur 1cff581359 mod_posix: Make sure that 'pidfile' is a string 12 years ago
Kim Alvefur b4848c3af7 mod_posix: Remove compat code for 0.5 12 years ago
Kim Alvefur 860aaf0111 mod_posix: Daemonize by default only when installed 12 years ago
Florian Zeitz 4b618a8727 Remove all trailing whitespace 13 years ago
Matthew Wild 7e9a5cc5a3 mod_posix: Improve error message for a pposix version mismatch 13 years ago
Matthew Wild 4031be743b mod_posix, util.pposix: Bump version for API change 13 years ago
Matthew Wild 9c5ea7b6a8 mod_posix: Pass logger name to syslog, so that sources now get logged 13 years ago
Kim Alvefur 3e7cd68092 mod_posix: Log a message explaining that we are detaching from the console 13 years ago
Kim Alvefur 11dbc0b49a mod_posix: Remove console and stdout logging sinks before daemonizing 13 years ago
Matthew Wild f7b4b8ed7a mod_posix: Remove unnecessary import of util.format (thanks luacheck and buildbot) 7 years ago
Matthew Wild 0c7ea2e51a loggingmanager, mod_posix: Move syslog to core, fixes #541 (in a way) 7 years ago
Matthew Wild e808645b53 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 14 years ago
Matthew Wild 1d5e91352f mod_posix: Support syslog_facility config option 14 years ago
Kim Alvefur df424cfe12 mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global() 14 years ago
Matthew Wild 7ef9dad636 mod_posix: Remove redundant import of logger.setwriter() 15 years ago
Waqas Hussain b7e51a203d Monster whitespace commit (beware the whitespace monster). 15 years ago
Waqas Hussain e981541bc4 mod_posix: Updated to use the new events API. 15 years ago
Matthew Wild 50b20f4af4 util.pposix: Add pposix.uname(), bump version 16 years ago
Matthew Wild b465aa90b9 util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb) 16 years ago
Matthew Wild b96ba1e82d mod_posix: Some (perhaps temporary) changes to re-lock the pidfile after truncating, to avoid breaking prosodyctl 16 years ago
Brian Cully d77e181372 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. 16 years ago
Waqas Hussain 4e7390dbf9 mod_posix: Fixed a global access. 16 years ago
Waqas Hussain 2f333716e6 mod_posix: Don't add a server-starting event handler while the server-starting event is being fired. 16 years ago
Matthew Wild 2bc0606453 Update copyright headers for 2010 16 years ago
Matthew Wild 275444ab82 mod_posix: Adjust file open mode depending on whether file exists (take that fopen designers!!!) 16 years ago
Matthew Wild 40216063d2 mod_posix: Adjust file open mode depending on whether file exists (take that fopen designers!!!) 16 years ago
Matthew Wild cafffad5b8 util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir 16 years ago
Matthew Wild 886d6d168f mod_posix: Lock pidfile when in use, shut down if we can't write or lock the pidfile 16 years ago
Matthew Wild e3ac62a1b8 mod_posix: Lock pidfile when in use, shut down if we can't write or lock the pidfile 16 years ago
Matthew Wild df44b24491 mod_posix: Set umask to 'umask' from the config, or 027 16 years ago
Matthew Wild 4558719f38 util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in mod_posix) 16 years ago
Matthew Wild 0632c3fd75 mod_posix: Remove the lines added to work around the util.signal loop bug 16 years ago
Matthew Wild ac9d44a858 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 16 years ago
Matthew Wild 5da4e2583a mod_posix: Set empty SIGINT handler when a SIGINT is caught 16 years ago