Hi Enrico,

On Tue, Jan 17, 2017 at 4:12 PM, Enrico Zini <enr...@debian.org> wrote:
> Currently prosody processes are identified as "lua5.1":
>
> # netstat -polenta|grep :52
> tcp        0      0 0.0.0.0:5222            0.0.0.0:*               LISTEN    
>   114        44800171    14284/lua5.1     off (0.00/0/0)
> tcp        0      0 0.0.0.0:5269            0.0.0.0:*               LISTEN    
>   114        44800173    14284/lua5.1     off (0.00/0/0)
> tcp6       0      0 :::5222                 :::*                    LISTEN    
>   114        44800170    14284/lua5.1     off (0.00/0/0)
> tcp6       0      0 :::5269                 :::*                    LISTEN    
>   114        44800172    14284/lua5.1     off (0.00/0/0)
>
> Could prosody set itself to be called 'prosody' instead? It would make it
> easier to make sense of what services seem to be up in my system.

Can a Lua script do that actually? All I could find is an external
module written in C: https://github.com/hoelzro/lua-proctitle

Cheers!
-- 
Sergei Golovan

Reply via email to