diff mod_proctitle/mod_proctitle.lua @ 1686:79ea92228101

Add proctitle module
author Rob Hoelz <rob@hoelz.ro>
date Tue, 28 Apr 2015 20:35:25 -0500
parents
children 94c4d4899a21
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';