annotate mod_proctitle/mod_proctitle.lua @ 3359:3d01ab6b1186

mod_http_upload_external: Fix typo/copy-paste issues in headers (thanks jonas<U+2019>)
author Matthew Wild <mwild1@gmail.com>
date Sun, 21 Oct 2018 15:09:29 +0100
parents 94c4d4899a21
children
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
1687
94c4d4899a21 Add minimal instructions for proctitle module
Rob Hoelz <rob@hoelz.ro>
parents: 1686
diff changeset
6 -- To use this module, you'll need the proctitle Lua library:
94c4d4899a21 Add minimal instructions for proctitle module
Rob Hoelz <rob@hoelz.ro>
parents: 1686
diff changeset
7 -- https://github.com/hoelzro/lua-proctitle
1686
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
8 local proctitle = require 'proctitle';
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
9
79ea92228101 Add proctitle module
Rob Hoelz <rob@hoelz.ro>
parents:
diff changeset
10 proctitle 'prosody';