sysmgr

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

commit 98422efa257b6f0276668e76dc784678c89d510a
parent 005fd8c7301176c0492c1b8a6719c6e6c32cbca6
Author: Cem Keylan <cem@ckyln.com>
Date:   Wed, 16 Sep 2020 20:34:05 +0300

Makefile: add checkprocess

Diffstat:
MMakefile | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -15,9 +15,10 @@ utils: install: all mkdir -p ${DESTDIR}${BINDIR} ${DESTDIR}${MAN1} ${DESTDIR}${MAN8} - cp sysmgr utils/sysmgr-needs ${DESTDIR}${BINDIR} + cp sysmgr utils/sysmgr-needs utils/checkprocess ${DESTDIR}${BINDIR} chmod 755 ${DESTDIR}${BINDIR}/sysmgr chmod 755 ${DESTDIR}${BINDIR}/sysmgr-needs + chmod 755 ${DESTDIR}${BINDIR}/checkprocess for link in ${LINK} ; do ln -sf sysmgr ${DESTDIR}${BINDIR}/$$link ; done cp man/svctl.1 ${DESTDIR}${MAN1} cp man/sysmgr.8 ${DESTDIR}${MAN8} @@ -27,6 +28,7 @@ install: all uninstall: rm -f ${DESTDIR}${BINDIR}/sysmgr \ ${DESTDIR}${BINDIR}/sysmgr-needs \ + ${DESTDIR}${BINDIR}/checkprocess \ ${DESTDIR}${BINDIR}/svctl \ ${DESTDIR}${BINDIR}/runsyssv rm -f ${DESTDIR}${MANPREFIX}/man1/svctl.1 \