commit 333a167c51c83fd60b110ec0ed5e62fdcfbe6f98 parent b2b5e34de84aa3ec6167c26f2740c57cfae67db9 Author: Cem Keylan <cem@ckyln.com> Date: Wed, 10 Jun 2020 09:13:04 +0300 sysmgr: use signal names instead of numbers Diffstat:
M | sysmgr | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sysmgr b/sysmgr @@ -118,8 +118,8 @@ redirectsignal() { # cleaned up. sig="$1" - log "${sig:-15}" > "${RUNDIR:?}/${service##*/}/lock" - kill "-${sig:-15}" "$svpid" 2>/dev/null + log "${sig:-TERM}" > "${RUNDIR:?}/${service##*/}/lock" + kill "-${sig:-TERM}" "$svpid" 2>/dev/null }