changeset 1686:79ea92228101

Add proctitle module
author Rob Hoelz <rob@hoelz.ro>
date Tue, 28 Apr 2015 20:35:25 -0500
parents c77e9522dc66
children 94c4d4899a21
files mod_proctitle/mod_proctitle.lua
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mod_proctitle/mod_proctitle.lua	Tue Apr 28 20:35:25 2015 -0500
@@ -0,0 +1,8 @@
+-- Changes the process name to 'prosody' rather than 'lua'/'lua5.1'
+-- Copyright (C) 2015 Rob Hoelz
+--
+-- This file is MIT/X11 licensed.
+
+local proctitle = require 'proctitle';
+
+proctitle 'prosody';