From e430586282dbfec3253a23eaa79fd7ba08510e45 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 11 Nov 2020 16:50:30 +0000 Subject: [PATCH] Update update checks so they hopefully work --- ansible/files/prosody.cfg.lua | 7 +++++++ ansible/tasks/prosody.yml | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ansible/files/prosody.cfg.lua b/ansible/files/prosody.cfg.lua index 367efd7..3a188e7 100644 --- a/ansible/files/prosody.cfg.lua +++ b/ansible/files/prosody.cfg.lua @@ -69,6 +69,7 @@ modules_enabled = { "default_bookmarks"; "roster_allinall"; "update_check"; + "update_notify"; "turncredentials"; "admin_shell"; @@ -128,7 +129,13 @@ statistics = "internal" certificates = "certs" +-- Update check configuration +software_name = "Snikket" +update_notify_version_url = "https://snikket.org/updates/{branch}/{version}" +update_notify_support_url = "https://snikket.org/notices/{branch}/" +update_notify_message_url = "https://snikket.org/notices/{branch}/{message}" update_check_dns = "_{branch}.update.snikket.net" +update_check_interval = 3607 http_host = DOMAIN http_external_url = "https://"..DOMAIN.."/" diff --git a/ansible/tasks/prosody.yml b/ansible/tasks/prosody.yml index bca51f5..f37f92d 100644 --- a/ansible/tasks/prosody.yml +++ b/ansible/tasks/prosody.yml @@ -96,6 +96,7 @@ - mod_muc_local_only - mod_firewall - mod_turncredentials + - mod_admin_notify - name: Install Bootstrap and JS libs @@ -120,4 +121,5 @@ - mod_http_acme_challenge - mod_http_libjs - mod_update_check + - mod_update_notify - mod_authz_internal