Files
infix/package/netbrowse/netbrowse.svc
T
Joachim Wiberg 92d3db46a7 netbrowse: convert to gunicorn and factor out mdns-alias app
Converting to gunicorn, which is the recommended production server for
Flask apps, means app main() function is no longer called at startup, so
we have to factor out the mDNS CNAME functionality for infix.local and
network.local to a separate app.

We take this opportunity to collapse the structure, move non-class
methods to __init.py__, and rename the AvahiAlias class.  A prototype
for replacing the overhead of mdns-alias with a C daemon is in its
early stages.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2024-04-15 15:36:41 +02:00

3 lines
152 B
Plaintext

service <!> name:netbrowse @www-data:www-data log:prio:daemon.debug,tag:mdns \
[2345] gunicorn -w 1 -b 127.0.0.1:8000 netbrowse:app -- Network browser