I'm working on a system whose primary startup system is runit.
Unfortunately, runit requires that whatever application it is running be running in the foreground like so:
#!/bin/bash
exec sshd -D
Seeing as nginx doesn't offer a way to run it in the foreground, how can I have runit still manage nginx and be able to stop, start, and restart it using runit's sv commands?