sysmgr

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

commit 0de9f94fad32f5a60ae56983b34f54ca3936a015
parent 5f28c9ec3f2293b00536b7d9e94d187ed3aa3242
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 16 Sep 2020 16:49:17 +0300

getpid(): unset pid each time it is called.

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

diff --git a/sysmgr b/sysmgr @@ -92,8 +92,8 @@ term() { } getpid() { - # This is a function to retrieve the pid from the RUNDIR + unset pid [ -f "$RUNDIR/$1/${2:-pid}" ] || { error "pid file for $1 could not be found" ; return 1 ;}