sysmgr

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

commit 07b80fcfa9714f699021edeea870c03207d1bc80
parent 4a23fa5f36451d3c295f33d6fe68be52c30af792
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 25 Feb 2020 11:22:24 +0300

redirectsignal: make kill errors silent

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

diff --git a/sysmgr b/sysmgr @@ -65,7 +65,7 @@ redirectsignal() { sig="$1" printf '%s\n' "${sig:-15}" > "${RUNDIR:?}/${service##*/}/lock" - kill "-${sig:-15}" "$svpid" + kill "-${sig:-15}" "$svpid" 2>/dev/null }