fixed init script for jabberd-2.2.16, as i couldn't get 2.2.17 to compile

This commit is contained in:
Manuel Friedli 2013-01-12 15:55:59 +00:00
parent 85a99a801d
commit 42079bb476
2 changed files with 6 additions and 1 deletions

View file

@ -1,7 +1,7 @@
AUX jabberd2-2.2.1.init 1625 SHA256 23c37f789d84575824a3cd8d009c88e7035ca1222cdb24e0c8437e1a6e55bec1 SHA512 a910b391be0deb85319563e07d74d0442c3accc1ec24b5ee9235d869b759576e0cae9c947b948d0a4735703177eb4baa5eb23d86f29c5134ef491e12a51c9505 WHIRLPOOL 48cd1a62ee3e123495429809c7ab7ee62c48ab4b2edab1c9523684371a9f5ebd8261b8a93136b3aa9d126cb3773d0d85acb1fc5113f9e88cdeb82f9c02ab06bf
AUX jabberd2-2.2.1.pamd 158 SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b SHA512 a52bec9577f028f1141002d0ffaaf11615699a67a7b3677774d7e8aa6595c8291cb6ebcdc0f874e54f700e3b437ae05e05b8d7c8c717dee15cb7d908a954b979 WHIRLPOOL 2289538542300efe78a261285359c6e5ad9151cc01123e3c5579cc72393ce94308d713e38d73bc418c5bc9d7f7a200469568b7b3187b576b3efa8efa19dda919
AUX jabberd2-2.2.16-no_debug.patch 1597 SHA256 705e041cd90a25c33628cc398c6c62ada46142d70c21315f5fb0d52d5ea02bc0 SHA512 306ca11839756b2289c5deaee8c55148546f9301a3c3a8343eb652cdc90f337c1d2d3e555ab348b19b41f17f781c4d5b0f532502e87ce6d7981b043e0dd42713 WHIRLPOOL 476151b962a2deb6ababdcddbcd558d4363656f5219e719a6e6ce156295b405a31d33059a8689293041122f14076694da7fe68b32d30469ea4c6b63ca446ddd4
AUX jabberd2-2.2.16.init 1625 SHA256 648f0e659175a060f852df502316db8221f622ad27b9085c8770aca20db151d9 SHA512 526f5a6e07c745532af019ced5ec2aa936c42c23f68720c16d5b8c45f779bf80afa9d7ab268888c56414f9c6d1393900f4bde68bc75ec4e8ac65d0cf33116c94 WHIRLPOOL a45d9b47ef3f9619bb120acd9658c1b15e1b16a0da1e644a12a52363a999131443cd7ca334b71fbc83427e0c75205b95e3aa312ff7fc66f266bc5198da89c699
AUX jabberd2-2.2.16.init 1743 SHA256 6efed83f6513a2eb1aded8cfb88a34d184bdc1141b2f7b7f90e925c4239e0a0b SHA512 8ba8e894232bdce530944ee4b0c5b473e75f0a65f1edbc498cb143c8a5726e55dff377e18566a2cbc4069e3e8652df1253516bdf341737a719012d4cc3959532 WHIRLPOOL 30145da91aca78f0e6fceaad267d39b7d28b5fd8c0dd1f11f40cb9bcafcda0c292c4944cdceeda697c3f91fa2844f53e0ab37909fd61aa633128545209a6b287
AUX jabberd2-2.2.16.pamd 158 SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b SHA512 a52bec9577f028f1141002d0ffaaf11615699a67a7b3677774d7e8aa6595c8291cb6ebcdc0f874e54f700e3b437ae05e05b8d7c8c717dee15cb7d908a954b979 WHIRLPOOL 2289538542300efe78a261285359c6e5ad9151cc01123e3c5579cc72393ce94308d713e38d73bc418c5bc9d7f7a200469568b7b3187b576b3efa8efa19dda919
AUX jabberd2-2.2.17.init 1743 SHA256 6efed83f6513a2eb1aded8cfb88a34d184bdc1141b2f7b7f90e925c4239e0a0b SHA512 8ba8e894232bdce530944ee4b0c5b473e75f0a65f1edbc498cb143c8a5726e55dff377e18566a2cbc4069e3e8652df1253516bdf341737a719012d4cc3959532 WHIRLPOOL 30145da91aca78f0e6fceaad267d39b7d28b5fd8c0dd1f11f40cb9bcafcda0c292c4944cdceeda697c3f91fa2844f53e0ab37909fd61aa633128545209a6b287
AUX jabberd2-2.2.17.pamd 158 SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b SHA512 a52bec9577f028f1141002d0ffaaf11615699a67a7b3677774d7e8aa6595c8291cb6ebcdc0f874e54f700e3b437ae05e05b8d7c8c717dee15cb7d908a954b979 WHIRLPOOL 2289538542300efe78a261285359c6e5ad9151cc01123e3c5579cc72393ce94308d713e38d73bc418c5bc9d7f7a200469568b7b3187b576b3efa8efa19dda919

View file

@ -32,6 +32,11 @@ start() {
local services
services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}')
eindent
if [ ! -d /var/run/jabber ] ; then
mkdir /var/run/jabber || die "Can't create run directory /var/run/jabber"
fi
for service in ${services}; do
cfgfile=$(echo ${service} | cut -d ':' -f 2)