Comparison

plugins/mod_posix.lua @ 3471:482275e38224

util.pposix, prosodyctl, mod_posix: Add initgroups() function, and bump module version. prosodyctl inits groups with the groups of prosody_user. (thanks dbb)
author Matthew Wild <mwild1@gmail.com>
date Sat, 28 Aug 2010 14:31:48 +0100
parent 3341:a8a3e662fea7
child 3481:72d3c8029178
comparison
equal deleted inserted replaced
3470:0e59b5cdd57b 3471:482275e38224
5 -- This project is MIT/X11 licensed. Please see the 5 -- This project is MIT/X11 licensed. Please see the
6 -- COPYING file in the source package for more information. 6 -- COPYING file in the source package for more information.
7 -- 7 --
8 8
9 9
10 local want_pposix_version = "0.3.3"; 10 local want_pposix_version = "0.3.4";
11 11
12 local pposix = assert(require "util.pposix"); 12 local pposix = assert(require "util.pposix");
13 if pposix._VERSION ~= want_pposix_version then module:log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), want_pposix_version); end 13 if pposix._VERSION ~= want_pposix_version then module:log("warn", "Unknown version (%s) of binary pposix module, expected %s", tostring(pposix._VERSION), want_pposix_version); end
14 14
15 local signal = select(2, pcall(require, "util.signal")); 15 local signal = select(2, pcall(require, "util.signal"));