Kim Alvefur
|
593b5348ef
|
mod_posix: Use path variant of config API for pidfile option
|
2017-03-21 12:08:29 +01:00 |
|
Kim Alvefur
|
fdf2a552ce
|
mod_posix: Use type-specific config API
|
2016-11-20 11:51:13 +01:00 |
|
Kim Alvefur
|
36b5ae5e24
|
mod_posix: Detect failure to load util.signal by first pcall return value not by type of the second
|
2015-09-26 21:41:11 +02:00 |
|
Kim Alvefur
|
b456d66edb
|
mod_posix: Normalize indentation
|
2015-09-26 21:39:26 +02:00 |
|
Matthew Wild
|
878efeecd5
|
Merge 0.9->0.10
|
2014-08-28 09:23:24 +01:00 |
|
Kim Alvefur
|
d431f7e1ec
|
mod_posix: Make sure that 'pidfile' is a string
|
2014-08-26 12:02:41 +02:00 |
|
Kim Alvefur
|
bd5c779391
|
mod_posix: Remove compat code for 0.5
|
2014-04-10 00:23:35 +02:00 |
|
Kim Alvefur
|
4896e7ca7e
|
mod_posix: Daemonize by default only when installed
|
2014-01-26 18:35:03 +01:00 |
|
Florian Zeitz
|
1d833bb807
|
Remove all trailing whitespace
|
2013-08-09 17:48:21 +02:00 |
|
Matthew Wild
|
0ce5c766ac
|
mod_posix: Improve error message for a pposix version mismatch
|
2013-04-08 17:21:16 +01:00 |
|
Matthew Wild
|
f1adfcc147
|
mod_posix, util.pposix: Bump version for API change
|
2013-04-08 16:57:59 +01:00 |
|
Matthew Wild
|
43e7ad6680
|
mod_posix: Pass logger name to syslog, so that sources now get logged
|
2013-04-08 16:57:05 +01:00 |
|
Kim Alvefur
|
8f3a73f5c5
|
mod_posix: Log a message explaining that we are detaching from the console
|
2012-11-11 23:44:56 +01:00 |
|
Kim Alvefur
|
37ba438ad9
|
mod_posix: Remove console and stdout logging sinks before daemonizing
|
2012-11-10 23:39:22 +01:00 |
|
Matthew Wild
|
e89b006f03
|
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
|
2012-07-23 17:32:33 +01:00 |
|
Matthew Wild
|
bd5f9b8cbf
|
Merge 0.9->trunk
|
2012-04-29 02:10:55 +01:00 |
|
Matthew Wild
|
0502e8bcec
|
mod_posix: Support syslog_facility config option
|
2012-04-26 18:14:42 +01:00 |
|
Kim Alvefur
|
3c2e464d58
|
mod_posix, mod_bosh, mod_admin_telnet: Use module:set_global()
|
2012-03-15 14:47:46 +01:00 |
|
Matthew Wild
|
7ef9dad636
|
mod_posix: Remove redundant import of logger.setwriter()
|
2010-11-04 08:41:24 +00:00 |
|
Waqas Hussain
|
b7e51a203d
|
Monster whitespace commit (beware the whitespace monster).
|
2010-10-16 23:00:42 +05:00 |
|
Waqas Hussain
|
e981541bc4
|
mod_posix: Updated to use the new events API.
|
2010-10-16 07:45:12 +05:00 |
|
Matthew Wild
|
50b20f4af4
|
util.pposix: Add pposix.uname(), bump version
|
2010-08-31 15:14:39 +01:00 |
|
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)
|
2010-08-28 14:31:48 +01:00 |
|
Matthew Wild
|
b96ba1e82d
|
mod_posix: Some (perhaps temporary) changes to re-lock the pidfile after truncating, to avoid breaking prosodyctl
|
2010-07-09 01:23:54 +01:00 |
|
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.
|
2010-07-09 01:16:09 +01:00 |
|
Waqas Hussain
|
896c6443c5
|
Merge 0.7->trunk
|
2010-05-07 16:21:04 +05:00 |
|
Waqas Hussain
|
cfb093a9f4
|
Merge 0.6->0.7
|
2010-05-07 16:17:48 +05:00 |
|
Waqas Hussain
|
4e7390dbf9
|
mod_posix: Fixed a global access.
|
2010-05-07 16:04:45 +05:00 |
|
Waqas Hussain
|
2f333716e6
|
mod_posix: Don't add a server-starting event handler while the server-starting event is being fired.
|
2010-05-07 07:18:09 +05:00 |
|
Matthew Wild
|
46c0b8c7f9
|
Merge 0.6->0.7
|
2010-03-22 17:24:55 +00:00 |
|
Matthew Wild
|
2bc0606453
|
Update copyright headers for 2010
|
2010-03-22 17:06:15 +00:00 |
|
Matthew Wild
|
275444ab82
|
mod_posix: Adjust file open mode depending on whether file exists (take that fopen designers!!!)
|
2010-01-13 00:03:22 +00:00 |
|
Matthew Wild
|
40216063d2
|
mod_posix: Adjust file open mode depending on whether file exists (take that fopen designers!!!)
|
2010-01-13 00:03:22 +00:00 |
|
Matthew Wild
|
cafffad5b8
|
util.pposix, mod_posix, prosodyctl: Bump pposix version to 0.3.3 for mkdir
|
2010-01-12 15:35:36 +00:00 |
|
Matthew Wild
|
886d6d168f
|
mod_posix: Lock pidfile when in use, shut down if we can't write or lock the pidfile
|
2010-01-10 23:49:38 +00:00 |
|
Matthew Wild
|
e3ac62a1b8
|
mod_posix: Lock pidfile when in use, shut down if we can't write or lock the pidfile
|
2010-01-10 23:49:38 +00:00 |
|
Matthew Wild
|
df44b24491
|
mod_posix: Set umask to 'umask' from the config, or 027
|
2010-01-10 22:15:15 +00:00 |
|
Matthew Wild
|
4558719f38
|
util.pposix: Add pposix.umask(), bump version to 0.3.2 (and do the same in mod_posix)
|
2010-01-10 21:48:25 +00:00 |
|
Matthew Wild
|
0632c3fd75
|
mod_posix: Remove the lines added to work around the util.signal loop bug
|
2010-01-10 14:09:17 +00:00 |
|
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
|
2009-12-08 01:24:16 +00:00 |
|
Matthew Wild
|
5da4e2583a
|
mod_posix: Set empty SIGINT handler when a SIGINT is caught
|
2009-12-08 01:16:24 +00:00 |
|
Matthew Wild
|
97680a1c21
|
mod_posix: Catch SIGINT
|
2009-12-07 18:38:35 +00:00 |
|
Matthew Wild
|
c529f3ff76
|
mod_posix: Log warning when no_daemonize is used, and instruct on how to update config
|
2009-11-08 15:25:03 +00:00 |
|
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
|
2009-11-08 15:10:44 +00:00 |
|
Matthew Wild
|
4b1f3c9e4a
|
Merge waqas with Tobias. Eww.
|
2009-08-18 13:03:35 +01:00 |
|
Tobias Markmann
|
60e7583c9f
|
Shutdown prosody if changing user or group fails.
|
2009-08-15 12:30:43 +02:00 |
|
Tobias Markmann
|
9d799a32c8
|
Make mod_posix not complain about root user, if setuid is set to something different as root.
|
2009-08-15 12:19:07 +02:00 |
|
Tobias Markmann
|
6a260eaa2c
|
Add setuid and setgid support.
|
2009-08-15 12:17:27 +02:00 |
|
Waqas Hussain
|
e928c6f02e
|
mod_posix: Updated to use module:get_option instead of configmanager
|
2009-08-13 16:55:44 +05:00 |
|
Matthew Wild
|
59c0104106
|
pposix, mod_posix: Bump pposix version number
|
2009-07-23 03:47:06 +01:00 |
|