view mod_proctitle/mod_proctitle.lua @ 3363:2681f74750b2

mod_conversejs: Weaken dependency on mod_bosh In trunk after e4c09e335bd9 it will now be possible to set modules_disabled = { "bosh" } to prevent it from being loaded.
author Kim Alvefur <zash@zash.se>
date Fri, 26 Oct 2018 20:07:16 +0200
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';