Great question — answering as the UphillTech team:
The files in /etc/rc.d is considered part of the operating system and managed by that. You should only be working with /usr/local/etc/rc.d . Notice that this is the location rc scripts for all packages are placed as well. rc.d is a service management framework. But it does nothing to create a "service" or more accurately "to daemonize a process". It is in place to give a uniform way to handle the "services". You noticed that as your app did not drop to the background as you expected and you needed to CTRL-C out. Your expectations are not in line with what should happen. It is the responsibility of your script/program/app to daemonize itself (go to the background etc.). The rc script is only...
Full answer by Claus Andersen: https://unix.stackexchange.com/a/745349 (CC BY-SA 4.0).
Need it done for your business? UphillTech.