Mercurial > prosody-modules
view misc/systemd/prosody-c2s.socket @ 5087:438fbebf74ac
mod_rest: Wrap webhook setup in a function for future reuse
The goal is to allow binding a session to a webhook via API to allow
e.g. bots to set up handling of incoming messages.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 27 Nov 2022 00:34:00 +0100 |
parents | 3296a09b4e57 |
children |
line wrap: on
line source
[Install] WantedBy=sockets.target [Socket] ListenStream=0.0.0.0:5222 ListenStream=5222 BindIPv6Only=ipv6-only Accept=false Service=prosody.service