daemonize

Run a command as a background UNIX daemon process.

brewmacoslinux
Try with needOr install directly
Source

About

Run a command as a UNIX daemon

Commands

daemonize

Examples

run a script in the background as a daemon$ daemonize /path/to/script.sh
start a long-running server process in background$ daemonize -p /var/run/myapp.pid /usr/local/bin/myserver
run a command as daemon and log output to file$ daemonize -o /var/log/output.log -e /var/log/error.log mycommand
daemonize a process and redirect stdout to dev null$ daemonize -o /dev/null myprocess
run application as daemon with custom user and group$ daemonize -u appuser -g appgroup /opt/app/start.sh