modified init script to check for /run-dir
This commit is contained in:
parent
25a3ba4a97
commit
148cf9e7bd
2 changed files with 6 additions and 1 deletions
|
@ -4,7 +4,7 @@ AUX jabberd2-2.2.16-no_debug.patch 1597 SHA256 705e041cd90a25c33628cc398c6c62ada
|
||||||
AUX jabberd2-2.2.16.init 1625 SHA256 648f0e659175a060f852df502316db8221f622ad27b9085c8770aca20db151d9 SHA512 526f5a6e07c745532af019ced5ec2aa936c42c23f68720c16d5b8c45f779bf80afa9d7ab268888c56414f9c6d1393900f4bde68bc75ec4e8ac65d0cf33116c94 WHIRLPOOL a45d9b47ef3f9619bb120acd9658c1b15e1b16a0da1e644a12a52363a999131443cd7ca334b71fbc83427e0c75205b95e3aa312ff7fc66f266bc5198da89c699
|
AUX jabberd2-2.2.16.init 1625 SHA256 648f0e659175a060f852df502316db8221f622ad27b9085c8770aca20db151d9 SHA512 526f5a6e07c745532af019ced5ec2aa936c42c23f68720c16d5b8c45f779bf80afa9d7ab268888c56414f9c6d1393900f4bde68bc75ec4e8ac65d0cf33116c94 WHIRLPOOL a45d9b47ef3f9619bb120acd9658c1b15e1b16a0da1e644a12a52363a999131443cd7ca334b71fbc83427e0c75205b95e3aa312ff7fc66f266bc5198da89c699
|
||||||
AUX jabberd2-2.2.16.pamd 158 SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b SHA512 a52bec9577f028f1141002d0ffaaf11615699a67a7b3677774d7e8aa6595c8291cb6ebcdc0f874e54f700e3b437ae05e05b8d7c8c717dee15cb7d908a954b979 WHIRLPOOL 2289538542300efe78a261285359c6e5ad9151cc01123e3c5579cc72393ce94308d713e38d73bc418c5bc9d7f7a200469568b7b3187b576b3efa8efa19dda919
|
AUX jabberd2-2.2.16.pamd 158 SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b SHA512 a52bec9577f028f1141002d0ffaaf11615699a67a7b3677774d7e8aa6595c8291cb6ebcdc0f874e54f700e3b437ae05e05b8d7c8c717dee15cb7d908a954b979 WHIRLPOOL 2289538542300efe78a261285359c6e5ad9151cc01123e3c5579cc72393ce94308d713e38d73bc418c5bc9d7f7a200469568b7b3187b576b3efa8efa19dda919
|
||||||
AUX jabberd2-2.2.17-no_debug.patch 1597 SHA256 705e041cd90a25c33628cc398c6c62ada46142d70c21315f5fb0d52d5ea02bc0 SHA512 306ca11839756b2289c5deaee8c55148546f9301a3c3a8343eb652cdc90f337c1d2d3e555ab348b19b41f17f781c4d5b0f532502e87ce6d7981b043e0dd42713 WHIRLPOOL 476151b962a2deb6ababdcddbcd558d4363656f5219e719a6e6ce156295b405a31d33059a8689293041122f14076694da7fe68b32d30469ea4c6b63ca446ddd4
|
AUX jabberd2-2.2.17-no_debug.patch 1597 SHA256 705e041cd90a25c33628cc398c6c62ada46142d70c21315f5fb0d52d5ea02bc0 SHA512 306ca11839756b2289c5deaee8c55148546f9301a3c3a8343eb652cdc90f337c1d2d3e555ab348b19b41f17f781c4d5b0f532502e87ce6d7981b043e0dd42713 WHIRLPOOL 476151b962a2deb6ababdcddbcd558d4363656f5219e719a6e6ce156295b405a31d33059a8689293041122f14076694da7fe68b32d30469ea4c6b63ca446ddd4
|
||||||
AUX jabberd2-2.2.17.init 1625 SHA256 648f0e659175a060f852df502316db8221f622ad27b9085c8770aca20db151d9 SHA512 526f5a6e07c745532af019ced5ec2aa936c42c23f68720c16d5b8c45f779bf80afa9d7ab268888c56414f9c6d1393900f4bde68bc75ec4e8ac65d0cf33116c94 WHIRLPOOL a45d9b47ef3f9619bb120acd9658c1b15e1b16a0da1e644a12a52363a999131443cd7ca334b71fbc83427e0c75205b95e3aa312ff7fc66f266bc5198da89c699
|
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
|
AUX jabberd2-2.2.17.pamd 158 SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b SHA512 a52bec9577f028f1141002d0ffaaf11615699a67a7b3677774d7e8aa6595c8291cb6ebcdc0f874e54f700e3b437ae05e05b8d7c8c717dee15cb7d908a954b979 WHIRLPOOL 2289538542300efe78a261285359c6e5ad9151cc01123e3c5579cc72393ce94308d713e38d73bc418c5bc9d7f7a200469568b7b3187b576b3efa8efa19dda919
|
||||||
AUX jabberd2-2.2.4.init 1625 SHA256 f01a66b3303f1ac366492e913a82952996b75619335ae210357e43e4fbed37a7 SHA512 df57e053ca7e4a8af841d659295ea4a5d747b21b6ae49f238a66cb7583e6cee6e50b5ad2781c42bda142a16e6bc9bce1aecfb12bec4b1974b652639f1e164ee8 WHIRLPOOL 3c56c3f588048db901dcf20554387e303df0876d9a6962406568e4a061854930f8b1b539d8b1a35ba1a175c2f4ba39929709ab009a8a529bc161a6bd19adad5d
|
AUX jabberd2-2.2.4.init 1625 SHA256 f01a66b3303f1ac366492e913a82952996b75619335ae210357e43e4fbed37a7 SHA512 df57e053ca7e4a8af841d659295ea4a5d747b21b6ae49f238a66cb7583e6cee6e50b5ad2781c42bda142a16e6bc9bce1aecfb12bec4b1974b652639f1e164ee8 WHIRLPOOL 3c56c3f588048db901dcf20554387e303df0876d9a6962406568e4a061854930f8b1b539d8b1a35ba1a175c2f4ba39929709ab009a8a529bc161a6bd19adad5d
|
||||||
AUX jabberd2-2.2.4.pamd 158 SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b SHA512 a52bec9577f028f1141002d0ffaaf11615699a67a7b3677774d7e8aa6595c8291cb6ebcdc0f874e54f700e3b437ae05e05b8d7c8c717dee15cb7d908a954b979 WHIRLPOOL 2289538542300efe78a261285359c6e5ad9151cc01123e3c5579cc72393ce94308d713e38d73bc418c5bc9d7f7a200469568b7b3187b576b3efa8efa19dda919
|
AUX jabberd2-2.2.4.pamd 158 SHA256 eba4b5cc68b3dd327cfa1afdadbe5adf6d9383f4c79c7661169a4339e40b9a7b SHA512 a52bec9577f028f1141002d0ffaaf11615699a67a7b3677774d7e8aa6595c8291cb6ebcdc0f874e54f700e3b437ae05e05b8d7c8c717dee15cb7d908a954b979 WHIRLPOOL 2289538542300efe78a261285359c6e5ad9151cc01123e3c5579cc72393ce94308d713e38d73bc418c5bc9d7f7a200469568b7b3187b576b3efa8efa19dda919
|
||||||
|
|
|
@ -32,6 +32,11 @@ start() {
|
||||||
local services
|
local services
|
||||||
services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}')
|
services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}')
|
||||||
eindent
|
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
|
for service in ${services}; do
|
||||||
|
|
||||||
cfgfile=$(echo ${service} | cut -d ':' -f 2)
|
cfgfile=$(echo ${service} | cut -d ':' -f 2)
|
||||||
|
|
Loading…
Reference in a new issue