aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-03-11 23:40:01 +0800
committerjoe <joe@FreeBSD.org>2001-03-11 23:40:01 +0800
commit7bf557ab76cc6ba8139febfd29b618b60493d947 (patch)
tree7b96a8337c26002ddc01a976fd4933c635d36ee7 /net
parent30373435760dcc8817d304253ccf31584d06595f (diff)
downloadfreebsd-ports-gnome-7bf557ab76cc6ba8139febfd29b618b60493d947.tar.gz
freebsd-ports-gnome-7bf557ab76cc6ba8139febfd29b618b60493d947.tar.zst
freebsd-ports-gnome-7bf557ab76cc6ba8139febfd29b618b60493d947.zip
There are reports of jabber not removing it's pidfile when shutting
down, so remove it by hand just in case. Submitted by: Yen-Ming Lee <leeym@bsd.ce.ntu.edu.tw>
Diffstat (limited to 'net')
-rw-r--r--net/jabber/Makefile1
-rw-r--r--net/jabber/files/jabberd.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/net/jabber/Makefile b/net/jabber/Makefile
index f5c694e1a5bf..cb8e873d8c23 100644
--- a/net/jabber/Makefile
+++ b/net/jabber/Makefile
@@ -7,6 +7,7 @@
PORTNAME= jabber
PORTVERSION= 1.4
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.jabber.org/dists/1.4/final/
diff --git a/net/jabber/files/jabberd.sh b/net/jabber/files/jabberd.sh
index b9ed328b640e..5fe6dfd4c06b 100644
--- a/net/jabber/files/jabberd.sh
+++ b/net/jabber/files/jabberd.sh
@@ -22,5 +22,6 @@ start)
su -f -m ${user} -c "jabberd -h ${hostname} -c ${PREFIX}/etc/jabber.xml" >${out} 2>&1 &;;
stop)
- killall jabberd;;
+ killall jabberd;
+ rm -f /var/tmp/jabber.pid;
esac