view mod_proctitle/mod_proctitle.lua @ 4311:a6c253bc63a5

End value is index+1 as per the newest revision https://xmpp.org/extensions/xep-0372.html#revision-history-v0.4.0
author Seve Ferrer <seve@delape.net>
date Tue, 22 Dec 2020 11:18:46 +0100
parents 94c4d4899a21
children
line wrap: on
line source

-- Changes the process name to 'prosody' rather than 'lua'/'lua5.1'
-- Copyright (C) 2015 Rob Hoelz
--
-- This file is MIT/X11 licensed.

-- To use this module, you'll need the proctitle Lua library:
-- https://github.com/hoelzro/lua-proctitle
local proctitle = require 'proctitle';

proctitle 'prosody';