Hi,
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:
https://github.com/swift-server/swift-service-lifecycle/issues/80
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.
Cheers,
Joakim