Annotate

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
child 1687:94c4d4899a21
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1686
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
1 -- Changes the process name to 'prosody' rather than 'lua'/'lua5.1'
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
2 -- Copyright (C) 2015 Rob Hoelz
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
3 --
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
4 -- This file is MIT/X11 licensed.
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
5
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
6 local proctitle = require 'proctitle';
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
7
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
8 proctitle 'prosody';