sysmgr

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

commit ccda34b0cc6edc84653f3ae602e6f4befe7f21b5
parent 506d7cca64c7e112d43ce35db580532629b8673f
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed,  8 Jul 2020 09:24:50 +0300

sysmgr: revert to using runsyssv externally

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

diff --git a/sysmgr b/sysmgr @@ -140,7 +140,7 @@ fn_sysmgr() { while sleep 1 ; do [ "$(ls -A "$SYSDIR" )" ] && for service in "$SYSDIR"/* ; do [ -x "$service" ] || error "$service is not an executable file" - ! [ -d "$RUNDIR/${service##*/}" ] && fn_runsyssv "$service" & + ! [ -d "$RUNDIR/${service##*/}" ] && runsyssv "$service" & done done }