adaptation to new structure; add integration with systemd socket and autoquit in production