diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-04-27 02:52:12 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-04-27 02:52:12 +0800 |
commit | 66f4bc6e18c7f067e16a53066859813b2e5519cf (patch) | |
tree | 12881eb58623a1568ff081d312459f3ebc6b2ec7 /net-im/jabber/files | |
parent | 4b275546ac60054a6cee2918d0b4b01f19bf347b (diff) | |
download | freebsd-ports-gnome-66f4bc6e18c7f067e16a53066859813b2e5519cf.tar.gz freebsd-ports-gnome-66f4bc6e18c7f067e16a53066859813b2e5519cf.tar.zst freebsd-ports-gnome-66f4bc6e18c7f067e16a53066859813b2e5519cf.zip |
Jabber needs SIGKILL to die
remove redundant logfile
fix pkg-plist (mispelling and extra directory)
PR: 37363
Submitted by: maintainer
Pointed out by: Neil Darlow
Diffstat (limited to 'net-im/jabber/files')
-rw-r--r-- | net-im/jabber/files/jabberd.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net-im/jabber/files/jabberd.sh b/net-im/jabber/files/jabberd.sh index 91773820c519..d6aa960fb6f6 100644 --- a/net-im/jabber/files/jabberd.sh +++ b/net-im/jabber/files/jabberd.sh @@ -7,7 +7,6 @@ fi USER="jabber" RUNDIR="/var/tmp" -LOG="/var/log/jabber.log" HOSTNAME=`/bin/hostname` test -x ${PREFIX}/sbin/jabberd || exit 1 @@ -20,9 +19,9 @@ cd ${RUNDIR} || exit case ${1:-start} in start) - su -f -m ${USER} -c "jabberd -h ${HOSTNAME} -c ${PREFIX}/etc/jabber.xml" >${LOG} 2>&1 &;; + su -f -m ${USER} -c "jabberd -B -h ${HOSTNAME} -c ${PREFIX}/etc/jabber.xml" ;; stop) - killall jabberd; + killall -SIGKILL -u ${USER} jabberd; rm -f ${RUNDIR}/jabber.pid; esac |