sysmgr

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

commit 9e2ffc3ad8e551fcae3a59968fd8aeaf2a6ae169
parent 15692893247d815ac4ecd2b0640351407777ad7c
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 15 Apr 2020 01:41:52 +0300

svctl: use basename for retrieving pid

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

diff --git a/sysmgr b/sysmgr @@ -207,7 +207,7 @@ fn_svctl() { [ "$2" ] || usage; job="$1"; shift for service; do # This will retrieve the process id from the service directory. - getpid "$service" + getpid "${service##*/}" case "$job" in stat|status)