hej all. I have a kind off weird setup using socket-activated containers:
nginx on the host listens on port 80 and has a 'proxy_pass http://unix:/run/http/$host;' directive. then I have [email protected] listening on 'ListenStream=/run/http/%I' which in turn activates a container. this works fine with the following '[email protected]' [Service] ExecStart=/usr/bin/systemd-nspawn --private-network --bind=/srv/%i:/srv/http -D /var/lib/machines/nginx_base -x -M "nginx_%i" /usr/bin/nginx -g 'daemon off;' [Install] Also=webserver@%i.socket Alias=webserver@%i.service witch runs a (patched) nginx as only binary in that container. now I want to run systemd in such a container to run both nginx and nodejs. the problem is, what should be in my 'nginx.socket' in order to pass on that first socket systemd gets, which is a UDS outside of the container? greetings Simon. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
