add signal sending function
run -> runIfUp split
add SIGTERM, SIGKILL, SIGHUP, etc to api table