I have systemd setup, and it runs:
- nginx.service on
So here is what I do...
- I check if wikiname.service is running...and it is not.
- I start the wikiname.socket unit.
- I visit http://wikiserver:8080/ my browser does nothing...
- I check again to see if wikiname.service is running and now it is, it was started by my browser activating the socket!
This is great and all but...
How can I have the wikiname.socket on the same socket as wikiname.service?
P.S. Before I found out about socket activation in systemd, I was starting the wikiname.service process manually and then when the correct path was called on nginx
:80 the request would be proxied to the
wikiname.service, but I'd rather use socket activation, so how do I keep both the
wikiname.service on the same port?