daemon

Run other processes as background daemons with easy control.

brewmacoslinux
Try with needOr install directly
Source

About

Turn other processes into daemons

Commands

daemon

Examples

run a command in the background as a daemon$ daemon /path/to/script.sh
start a daemon and save its PID to a file$ daemon --pidfile=/var/run/myapp.pid /usr/local/bin/myapp
run a daemon with custom name and log output$ daemon --name=webserver --output=/var/log/webserver.log /usr/bin/python app.py
stop a running daemon by its PID file$ daemon --pidfile=/var/run/myapp.pid --stop
restart a daemon process cleanly$ daemon --pidfile=/var/run/myapp.pid --restart /usr/local/bin/myapp