From 38c142ea1e45ebfb74a53eaa7654dc94494f2df9 Mon Sep 17 00:00:00 2001 From: prozacx Date: Sat, 23 Apr 2005 23:16:13 +0000 Subject: [PATCH] Removed zncchk since znc itself now does multiple instance detection git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@176 726aef4b-f618-498e-8847-2d620e286838 --- Makefile.in | 1 - zncchk | 19 ------------------- 2 files changed, 20 deletions(-) delete mode 100755 zncchk diff --git a/Makefile.in b/Makefile.in index 4fca5243..39b1948d 100644 --- a/Makefile.in +++ b/Makefile.in @@ -39,7 +39,6 @@ install: znc @MODTARGET@ mkdir -p $(DESTDIR)$(prefix)/bin mkdir -p $(DESTDIR)$(prefix)/include/znc install -m 0755 znc $(DESTDIR)$(prefix)/bin - install -m 0755 zncchk $(DESTDIR)$(prefix)/bin install -m 0755 znc-config $(DESTDIR)$(prefix)/bin install -m 0755 znc-buildmod $(DESTDIR)$(prefix)/bin install -m 0644 *.h $(DESTDIR)$(prefix)/include/znc diff --git a/zncchk b/zncchk deleted file mode 100755 index 9845c8b0..00000000 --- a/zncchk +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh -cmd="znc" -pidfile="${HOME}/.znc/znc.pid" - -if test -s $pidfile; then - pid=`cat $pidfile` - - if `kill -0 $pid >/dev/null 2>&1`; then - exit 0 - fi - - rm -f $pidfile -fi - -echo "" -echo "Reloading..." -echo "" -$cmd -exit 0