Multi-process executable running as a daemon

We have a executable which after launching fork two processes. So three processes are running as a result.
We want to run this as a daemon. As I understand this is not a forking type daemon because the parent process does not terminate.
So we still declare it as a simple process.

How would the restart-condition work in this case? Would the daemon be restarted if one sub process terminates or all three or just the parent process?