summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2004-07-05 02:17:36 +0000
committerGustavo Felisberto <humpback@gentoo.org>2004-07-05 02:17:36 +0000
commitd3e635bdbeb912475b58f539d881c503b089bd68 (patch)
tree7a2622b9aa4e7b216482a9bdeb8e09813bcbdd2c /net-im/mu-conference/files
parentStable on ppc. (Manifest recommit) (diff)
downloadgentoo-2-d3e635bdbeb912475b58f539d881c503b089bd68.tar.gz
gentoo-2-d3e635bdbeb912475b58f539d881c503b089bd68.tar.bz2
gentoo-2-d3e635bdbeb912475b58f539d881c503b089bd68.zip
Updated init script
Diffstat (limited to 'net-im/mu-conference/files')
-rw-r--r--net-im/mu-conference/files/digest-mu-conference-0.6.0-r21
-rw-r--r--net-im/mu-conference/files/muc-transport.init7
2 files changed, 6 insertions, 2 deletions
diff --git a/net-im/mu-conference/files/digest-mu-conference-0.6.0-r2 b/net-im/mu-conference/files/digest-mu-conference-0.6.0-r2
new file mode 100644
index 000000000000..84c66826bb18
--- /dev/null
+++ b/net-im/mu-conference/files/digest-mu-conference-0.6.0-r2
@@ -0,0 +1 @@
+MD5 e97433bf4a978329d639ce872bee3223 mu-conference-0.6.0.tar.gz 56272
diff --git a/net-im/mu-conference/files/muc-transport.init b/net-im/mu-conference/files/muc-transport.init
index 68e0aad3bb36..39f611579824 100644
--- a/net-im/mu-conference/files/muc-transport.init
+++ b/net-im/mu-conference/files/muc-transport.init
@@ -13,11 +13,14 @@ start() {
stop() {
ebegin "Stoping MUC Jabber Transport"
- kill `cat /var/log/jabber/muctrans.pid`
+ if [ -f /var/log/jabber/muctrans.pid ]; then
+ kill `cat /var/log/jabber/muctrans.pid`
+ fi
sleep 2
- if ( -f /var/log/jabber/muctrans.pid ); then
+ if [ -f /var/log/jabber/muctrans.pid ]; then
kill -9 `cat /var/log/jabber/muctrans.pid`
rm -f /var/log/jabber/muctrans.pid
fi
+ rm -f /var/log/jabber/muctrans.pid
eend $?
}