A simple daemon impliment by shell on Linux. You are able to change the process as you want easly by a MACRO
use ps cmd to find your process is alive/multi/zombi and to restart it each 5 seconds
It's easy to changing/cusomizing/running.
if you want daemon you AAA, just change PRO_NAME_EMQX as you AAA such as /dir/AAA in daemon.sh
how to pass parameters to AAA, such as /dir/AAA -d
just change ${PRO_NAME_EMQX} to be ${PRO_NAME_EMQX} -d