equal
deleted
inserted
replaced
18 local have_signal, signal = pcall(require, "util.signal"); |
18 local have_signal, signal = pcall(require, "util.signal"); |
19 if not have_signal then |
19 if not have_signal then |
20 module:log("warn", "Couldn't load signal library, won't respond to SIGTERM"); |
20 module:log("warn", "Couldn't load signal library, won't respond to SIGTERM"); |
21 end |
21 end |
22 |
22 |
23 local format = require "util.format"; |
23 local format = require "util.format".format; |
24 local lfs = require "lfs"; |
24 local lfs = require "lfs"; |
25 local stat = lfs.attributes; |
25 local stat = lfs.attributes; |
26 |
26 |
27 local prosody = _G.prosody; |
27 local prosody = _G.prosody; |
28 |
28 |