view mod_proctitle/README.markdown @ 4757:8e22b858628f

luacheck: Discourage use of the 'hosts' global (like in Prosody) Shorter name for prosody.hosts which is more explicit. Having fewer globals is better.
author Kim Alvefur <zash@zash.se>
date Sun, 07 Nov 2021 14:18:47 +0100
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>