Commit Graph

25 Commits (54c77c0054c13aed866c19bec1179a886eaefea8)

Author SHA1 Message Date
Matthew Wild c529f3ff76 mod_posix: Log warning when no_daemonize is used, and instruct on how to update config 16 years ago
Matthew Wild f14b4f762a 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 16 years ago
Tobias Markmann 60e7583c9f Shutdown prosody if changing user or group fails. 17 years ago
Tobias Markmann 9d799a32c8 Make mod_posix not complain about root user, if setuid is set to something different as root. 17 years ago
Tobias Markmann 6a260eaa2c Add setuid and setgid support. 17 years ago
Waqas Hussain e928c6f02e mod_posix: Updated to use module:get_option instead of configmanager 17 years ago
Matthew Wild 59c0104106 pposix, mod_posix: Bump pposix version number 17 years ago
Matthew Wild e45610ce6e Add copyright header to those files missing one 17 years ago
Matthew Wild 2b380dd009 mod_posix: Use global prosody object 17 years ago
Matthew Wild a4afb37265 mod_posix: Reload the config and reopen log files on SIGHUP 17 years ago
Matthew Wild a073502b27 mod_posix: Don't let the server run as root without the magic run_as_root in config 17 years ago
Matthew Wild e30b37c424 mod_posix: Fix calls to log() (replace with module:log) and make some global accesses explicit 17 years ago
Matthew Wild 580571ef6a mod_posix: Fix for removing the pidfile on exit 17 years ago
Matthew Wild d80095a3d3 mod_posix: Remove some debug coooooooooode 17 years ago
Matthew Wild ca9a9eb85e mod_*: Fix a load of global accesses 17 years ago
Matthew Wild fc2a415984 mod_posix: Integrate with loggingmanager, register syslog sink, remove redundant logging code 17 years ago
Matthew Wild ca533fa608 mod_posix: Remove pidfile on exit 17 years ago
Matthew Wild 8a5a7e3e62 mod_posix: Allow logging and pidfile options to take effect without needing to daemonize. Add the ability to catch SIGTERM. 17 years ago
Matthew Wild f8661a183c mod_posix: logging fix 17 years ago
Matthew Wild e0c2cbefc3 Fix for pposix version detection 17 years ago
Matthew Wild 1c899aec8d mod_posix: Check version of pposix 17 years ago
Matthew Wild b1f16033b0 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. 17 years ago
Matthew Wild 333914c98d mod_posix: Support for logging to syslog (log = 'syslog' in config) 17 years ago
Matthew Wild 8d26c23a92 Small logging adjustment for mod_posix 17 years ago
Matthew Wild c67ce2d2e1 Add mod_posix, fixes #5 17 years ago