changeset 1688:752d52d61186

Merge my branch containing proctitle module
author Rob Hoelz <rob@hoelz.ro>
date Wed, 29 Apr 2015 07:24:07 -0500
parents a9df1f7e273d (current diff) 94c4d4899a21 (diff)
children 06f9ab0c078c
files
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_proctitle/mod_proctitle.lua	Wed Apr 29 07:24:07 2015 -0500
@@ -0,0 +1,10 @@
+-- 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';