diff options
author | Gustavo Felisberto <humpback@gentoo.org> | 2004-07-05 02:17:36 +0000 |
---|---|---|
committer | Gustavo Felisberto <humpback@gentoo.org> | 2004-07-05 02:17:36 +0000 |
commit | d3e635bdbeb912475b58f539d881c503b089bd68 (patch) | |
tree | 7a2622b9aa4e7b216482a9bdeb8e09813bcbdd2c /net-im/mu-conference/files | |
parent | Stable on ppc. (Manifest recommit) (diff) | |
download | gentoo-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-r2 | 1 | ||||
-rw-r--r-- | net-im/mu-conference/files/muc-transport.init | 7 |
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 $? } |