Mercurial > prosody-modules
view misc/systemd/prosody-c2s.socket @ 3336:4af114684e0a
mod_http_index: Allow listed modules to include a friendlier name
Example:
```
module:provides("http", {
name = "demo";
title = "Demo HTTP Module";
route = {
GET = function() return "Hello"; end;
};
});
```
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 27 Sep 2018 17:13:10 +0200 |
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