From 08080f03b991b6f3a0c8f107dd21139a40e5e2f8 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 12 Nov 2021 13:41:32 +0000 Subject: [PATCH] prosody: Show Snikket domain in admin shell prompt --- ansible/files/prosody.cfg.lua | 2 ++ ansible/snikket.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/files/prosody.cfg.lua b/ansible/files/prosody.cfg.lua index 480dfd7..c014470 100644 --- a/ansible/files/prosody.cfg.lua +++ b/ansible/files/prosody.cfg.lua @@ -29,6 +29,8 @@ data_path = "/snikket/prosody" pidfile = "/var/run/prosody/prosody.pid" +admin_shell_prompt = ("prosody [%s]> "):format(DOMAIN) + -- Aggressive GC to reduce resource consumption. These values are not -- incredibly scientific, but should be good for a small private server. -- They should be reviewed on the upgrade to Lua 5.4. diff --git a/ansible/snikket.yml b/ansible/snikket.yml index d9c45cc..5b1fad2 100644 --- a/ansible/snikket.yml +++ b/ansible/snikket.yml @@ -7,7 +7,7 @@ vars: prosody: package: "prosody-trunk" - build: "1535" + build: "1537" prosody_modules: revision: "8bd36bba2292" tasks: