Mercurial > prosody-modules
view mod_proctitle/README.markdown @ 3336:4af114684e0a
mod_http_index: Allow listed modules to include a friendlier name
Example:
```
module:provides("http", {
name = "demo";
title = "Demo HTTP Module";
route = {
GET = function() return "Hello"; end;
};
});
```
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 27 Sep 2018 17:13:10 +0200 |
parents | 0225f2a551d0 |
children |
line wrap: on
line source
--- summary: Set process name to prosody ... This module sets the process name to `prosody` so it shows up as such instead of `lua` in process management tools. To use this module, you'll need the proctitle Lua library: <https://github.com/hoelzro/lua-proctitle>