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
This commit is contained in:
prozacx
2005-04-23 23:16:13 +00:00
parent fe926d20ba
commit 38c142ea1e
2 changed files with 0 additions and 20 deletions

View File

@@ -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

19
zncchk
View File

@@ -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