sysmgr

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

commit 7901d40045b9ff93102f454695cfd75da57583d7
parent 07b80fcfa9714f699021edeea870c03207d1bc80
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 25 Feb 2020 11:27:12 +0300

runsyssv: use RUNDIR variable instead of /run/sysmgr (fix)

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

diff --git a/sysmgr b/sysmgr @@ -120,7 +120,7 @@ fn_runsyssv() { # This is the simplest way of checking whether a # service is running (or killed by the user with # ctl, so that it does not run again). - [ -e "/run/sysmgr/${service##*/}" ] && exit 1 + [ -e "$RUNDIR/${service##*/}" ] && exit 1 # Create the run directory for the service where # we will be adding the pid value when we start