Mercurial > prosody-modules
view mod_proctitle/mod_proctitle.lua @ 6323:6216d85162dc
mod_invites_register_web: Fix loading resources from relative paths
Both module:get_option_path and module:load_resource makes the path
relative to the plugin resource directory, so when running form a source
checkout where this path is relative, the path was expanded relative to
itself, becoming duplicated.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 06 Sep 2025 20:57:57 +0200 |
| parents | 94c4d4899a21 |
| children |
line wrap: on
line source
-- 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';
