contributed by some Chinese folk a few years ago: https://docs.cherrypy.org/en/latest/deploy.html?highlight=daemon#systemd-socket-activation
This allows systemd to create a socket by itself on the first request and than run your app after that bypassing that socket via file descriptor #3 so that you'd not have to worry about hardcoding any ports in your CherryPy app
Обсуждают сегодня