mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
- Remove pkg-install.in which stopped heartbeat on
update (even if the changes didn't require it to do so, so it did more harm than good). - Take maintainership PR: 216675 Approved by: maintainer
This commit is contained in:
parent
0e53bb7879
commit
d0a37dab80
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=449242
2 changed files with 3 additions and 23 deletions
|
@ -3,14 +3,14 @@
|
|||
|
||||
PORTNAME= heartbeat
|
||||
PORTVERSION= 2.1.4
|
||||
PORTREVISION= 28
|
||||
PORTREVISION= 29
|
||||
CATEGORIES= sysutils
|
||||
#MASTER_SITES= http://hg.linux-ha.org/lha-2.1/archive/STABLE-2.1.4.tar.bz2
|
||||
MASTER_SITES= LOCAL/kuriyama/heartbeat
|
||||
DISTNAME= STABLE-${PORTVERSION}
|
||||
DIST_SUBDIR= heartbeat
|
||||
|
||||
MAINTAINER= ports@encarnate.com
|
||||
MAINTAINER= grembo@FreeBSD.org
|
||||
COMMENT= Subsystem for High-Availability Clustering
|
||||
|
||||
LICENSE= GPLv2 LGPL21
|
||||
|
@ -54,7 +54,7 @@ CONFIGURE_ARGS= --localstatedir=/var \
|
|||
--disable-dopd \
|
||||
--disable-fatal-warnings
|
||||
|
||||
SUB_FILES= pkg-install pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
|
||||
PKGDEINSTALL= ${PKGINSTALL}
|
||||
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
PREFIX=${PREFIX:-%%PREFIX%%}
|
||||
|
||||
case $2 in
|
||||
|
||||
DEINSTALL)
|
||||
|
||||
echo -e "\n\n"
|
||||
|
||||
# Check for running processes
|
||||
echo -n "Checking if heartbeat is running... "
|
||||
if ps -axc | grep -q heartbeat; then
|
||||
echo -n "FOUND. Stopping... "
|
||||
${PREFIX}/etc/rc.d/heartbeat forcestop
|
||||
echo "STOPPED"
|
||||
else
|
||||
echo "NO"
|
||||
fi
|
||||
esac
|
Loading…
Add table
Reference in a new issue