sysmgr

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

commit b06275fe56e0b750dadae7a7b393fee2d579ebc9
parent 60dd09eb868c3ff12a33af528485af56f3485b57
Author: Cem Keylan <cem@ckyln.com>
Date:   Sat,  3 Jul 2021 22:14:45 +0300

update

Diffstat:
Msysmgr | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/sysmgr b/sysmgr @@ -62,10 +62,8 @@ checkprocess() { } cleanup() { - # Clean the service run directory so that it can be restarted. Do not remove # the run directory if lock file exists. - rm -f -- "$RUNDIR/${service##*/}/pid" "${RUNDIR}/${service##*/}/syspid" [ -e "$RUNDIR/${service##*/}/lock" ] && return @@ -74,7 +72,6 @@ cleanup() { } term() { - # This function is executed when the sysmgr receives an interrupt or a # hangup signal. It enters the termination state where it forwards SIGTERM # to every other runsyssv process that have their process ids in the RUNDIR.