diff options
author | Bertrand Jacquin <beber@meleeweb.net> | 2006-04-21 00:29:59 +0200 |
---|---|---|
committer | Bertrand Jacquin <beber@meleeweb.net> | 2006-04-21 00:29:59 +0200 |
commit | f08f8dbee1ef7dff1743913d3f2e4cb932e1cf29 (patch) | |
tree | 914d95b2b4fbad89aeead1129914715f10de5be4 | |
parent | ejabberd: regen digests (diff) | |
download | portage-f08f8dbee1ef7dff1743913d3f2e4cb932e1cf29.tar.xz |
ejabberd: add control scripts
-rw-r--r-- | net-im/ejabberd/Manifest | 6 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberd | 12 | ||||
-rw-r--r-- | net-im/ejabberd/files/ejabberdctl | 8 |
3 files changed, 26 insertions, 0 deletions
diff --git a/net-im/ejabberd/Manifest b/net-im/ejabberd/Manifest index 7d67466c..69993b66 100644 --- a/net-im/ejabberd/Manifest +++ b/net-im/ejabberd/Manifest @@ -4,9 +4,15 @@ SHA256 e6c19be3f7090afeed1bcb87ffa5c877666b5cbe8aa6d9177d8d41ea248be735 ejabberd MD5 2e4ab0224d246609ff9a118e0110d88d files/digest-ejabberd-1.0.0 244 RMD160 8e6ee59d0854e04c188c57b00e78f58ac0253763 files/digest-ejabberd-1.0.0 244 SHA256 f0ddc1f53d8bf517d4948caf6c1b7d7ead48939c4af6a8e7bfaec2e49be550e3 files/digest-ejabberd-1.0.0 244 +MD5 9a8e4312bc168e538a78701b23ab9717 files/ejabberd 348 +RMD160 cfbae5319526fc6e82d6462d011820e1af6a030c files/ejabberd 348 +SHA256 027951df06992925651b0eae03df3714794752db84ea950edc69faf7493db857 files/ejabberd 348 MD5 7348d713e30c148b3208edf8e24d6ae5 files/ejabberd-1.0.0.confd 777 RMD160 7c8a17a3e5dd26b4133311c5e875d561f94a4ad4 files/ejabberd-1.0.0.confd 777 SHA256 f8fb46cb6d48055eab6f95ee487e42b228abe87c2c06a74c08e30872121cc76c files/ejabberd-1.0.0.confd 777 MD5 608e482a70b1cd9a1a78d721edc8d42d files/ejabberd-1.0.0.initd 1260 RMD160 0565503966512228f21079213a8587d7ada7a823 files/ejabberd-1.0.0.initd 1260 SHA256 cd06a6efdefda36993eb82fb6617a9a7e65228941f4deac42d583e96b1d6dfc9 files/ejabberd-1.0.0.initd 1260 +MD5 02f73df322021bad4dceec69bc4ad958 files/ejabberdctl 172 +RMD160 426dfdc02d9c5e733fb6f997ece226355f0b2003 files/ejabberdctl 172 +SHA256 93e967ce07a4e7dd9f4149fe522d64ad5cd699836dcbb651026d6b13e1c3fcc1 files/ejabberdctl 172 diff --git a/net-im/ejabberd/files/ejabberd b/net-im/ejabberd/files/ejabberd new file mode 100644 index 00000000..c34b4305 --- /dev/null +++ b/net-im/ejabberd/files/ejabberd @@ -0,0 +1,12 @@ +#!/bin/bash + +cd $HOME +erl +K true \ + -sname ejabberd \ + -s ejabberd \ + -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" \ + log_path \"/var/log/ejabberd/ejabberd.log\" \ + -kernel inetrc \"/etc/ejabberd/inetrc\" \ + -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} \ + -mnesia dir \"/var/spool/ejabberd\" \ + $@ diff --git a/net-im/ejabberd/files/ejabberdctl b/net-im/ejabberd/files/ejabberdctl new file mode 100644 index 00000000..c3bab8db --- /dev/null +++ b/net-im/ejabberd/files/ejabberdctl @@ -0,0 +1,8 @@ +#!/bin/sh + +exec env HOME=/var/run/ejabberd \ + erl \ + -noinput \ + -sname ejabberdctl \ + -s ejabberd_ctl \ + -extra $@ |