Adding daemonization to swift service lifecycle


Hope I’m putting this in the proper forum even if it is just a small improvement.

Just wanted to check peoples thoughts on adding proper daemonization to the swift service lifecycle framework?

I added:

It would seem a natural fit for “proper” backend services and seems to be missing AFAICT?

Usually one would at least block signals (to ensure they will be delivered to signal handler thread only), fork() and redirect stdin/out/err to /dev/null etc.



thanks for bringing it up @Joakim_Hassila1 - sounds potentially interesting. we can discuss more here or over at the GitHub issue

Thanks, will follow up at GitHub then to keep discussion localised in case it turns up as a PR, easier to track history background then.

Terms of Service

Privacy Policy

Cookie Policy