sysmgr

a simplistic service supervisor (deprecated)
git clone git://git.ckyln.com/~cem/sysmgr.git
Log | Files | Refs | README | LICENSE

commit a48fd2e9282f488ffe2217ccd2ea2c4049150615
parent dab7f0e742ac9477931ddbc2b97a0747118e3da1
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 27 Feb 2020 16:17:28 +0300

Change SIGTERM to -15 on kill command, thanks to Crestwave

Diffstat:
Msysmgr | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysmgr b/sysmgr @@ -52,7 +52,7 @@ term() { # process that have their process ids in the RUNDIR for process in "${RUNDIR:?}"/*/syspid ; do - kill -SIGTERM "$(cat "$process")" 2>/dev/null + kill -15 "$(cat "$process")" 2>/dev/null done # Wait for the redirections to happen