Mercurial > prosody-hg
comparison plugins/mod_posix.lua @ 9764:2f4240bfd147
Merge 0.11->trunk
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 06 Jan 2019 12:18:48 +0100 |
| parents | 982529dd0bed |
| children | 1460c4966262 5cf481bee678 |
comparison
equal
deleted
inserted
replaced
| 9760:88640b3ea6b8 | 9764:2f4240bfd147 |
|---|---|
| 170 end); | 170 end); |
| 171 | 171 |
| 172 signal.signal("SIGHUP", function () | 172 signal.signal("SIGHUP", function () |
| 173 module:log("info", "Received SIGHUP"); | 173 module:log("info", "Received SIGHUP"); |
| 174 prosody.reload_config(); | 174 prosody.reload_config(); |
| 175 prosody.reopen_logfiles(); | 175 -- this also reloads logging |
| 176 end); | 176 end); |
| 177 | 177 |
| 178 signal.signal("SIGINT", function () | 178 signal.signal("SIGINT", function () |
| 179 module:log("info", "Received SIGINT"); | 179 module:log("info", "Received SIGINT"); |
| 180 prosody.unlock_globals(); | 180 prosody.unlock_globals(); |
