Merge my branch containing proctitle module
authorRob Hoelz <rob@hoelz.ro>
Wed, 29 Apr 2015 07:24:07 -0500
changeset 1687 752d52d61186
parent 1684 a9df1f7e273d (current diff)
parent 1686 94c4d4899a21 (diff)
child 1693 06f9ab0c078c
Merge my branch containing proctitle module
--- /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';