net-misc/FORT-validator: rsync processes lunched by fort are still listening on port 323 and thus are preventing the restart
This commit is contained in:
parent
5ae2141c59
commit
3293e2d2a3
|
@ -1,6 +1,6 @@
|
||||||
AUX fort-confd 460 BLAKE2B 5731cbaa8865b6bc708fb6d6c58fa85f6936cac61c304daba2776dd328e9848e560a5fef3d8d8a10ed9708c96021f276d5723341474c07d3027227f85251c825 SHA512 f40c59714f0935daf1026c8efb63180aff0f2ece9b0b5274af9abc95e1163fea194b01e14522dabf9064ea17bf5d29aabe447c566f98ba868cbeddeabf0d7e2f
|
AUX fort-confd 460 BLAKE2B 5731cbaa8865b6bc708fb6d6c58fa85f6936cac61c304daba2776dd328e9848e560a5fef3d8d8a10ed9708c96021f276d5723341474c07d3027227f85251c825 SHA512 f40c59714f0935daf1026c8efb63180aff0f2ece9b0b5274af9abc95e1163fea194b01e14522dabf9064ea17bf5d29aabe447c566f98ba868cbeddeabf0d7e2f
|
||||||
AUX fort-config.json 144 BLAKE2B 68674502b9bcc9cccbe566224b730c81098bc4f6af2fb9b62c02712499aa2618049cafb431a7943699b946fb42fae5e979d205edeb6bc5e7cc121b09346ecacf SHA512 3faa68a2ba2d881a9d2413af53133b7e4ce72b4e0250e64c734ff1957d943435b32a012d271fd098e25d3b31afba0ae406dc1b27c2ac38964cf853d45f4dc1c1
|
AUX fort-config.json 144 BLAKE2B 68674502b9bcc9cccbe566224b730c81098bc4f6af2fb9b62c02712499aa2618049cafb431a7943699b946fb42fae5e979d205edeb6bc5e7cc121b09346ecacf SHA512 3faa68a2ba2d881a9d2413af53133b7e4ce72b4e0250e64c734ff1957d943435b32a012d271fd098e25d3b31afba0ae406dc1b27c2ac38964cf853d45f4dc1c1
|
||||||
AUX fort-initd 791 BLAKE2B dba40c667d7e2f81ac383632bd81adfa7056cda13979585edba8c5236aa99f18fbbc1bec820eef2ad221662490b3a4196dedb6559342c15933d58447f5d53f14 SHA512 14832d09d8b28088e3fed6d631b90ea70bd520c6f47252f58055570338417bab95c2fa2c48061edd3543421f059e08020e48894d1f9cee6984c4082b563fa3f5
|
AUX fort-initd 673 BLAKE2B ef44f3076e534a3f61883c749050247ac71d6fba809c536c354e0b020f5c1457ff73f236af00b8d0149f4570f5ad678b6fedfb6153616b510fb3a1810e87b723 SHA512 de68f6df349f5d13050a35b2538a989b18eaefcf444bc5fda5620616298ea39ffafb1e2051619158847073177c4ed6fc08e43f69062857a7ae1b720af913867b
|
||||||
DIST FORT-validator-1.1.3.tar.gz 383459 BLAKE2B 80523058fb7e7b7f8d8a1d3737321f33a1795ed7f659bd8f0f0f107df3abfd36508bff1bf03ee3964ba4ad61faa9df29ea19c81f4533666b5a01e2dabf904172 SHA512 6d34e96c1f1d710914593620e848281d427cfcbefddfe355be8b36fb3b3451bc48113c968ddc25c18ea6df23fb182e7bb4951743de2ab0aa8d84d764040ca617
|
DIST FORT-validator-1.1.3.tar.gz 383459 BLAKE2B 80523058fb7e7b7f8d8a1d3737321f33a1795ed7f659bd8f0f0f107df3abfd36508bff1bf03ee3964ba4ad61faa9df29ea19c81f4533666b5a01e2dabf904172 SHA512 6d34e96c1f1d710914593620e848281d427cfcbefddfe355be8b36fb3b3451bc48113c968ddc25c18ea6df23fb182e7bb4951743de2ab0aa8d84d764040ca617
|
||||||
EBUILD FORT-validator-1.1.3.ebuild 1036 BLAKE2B d9b043955d09d4521b6fd4bd5d918367410eb42a5570aa2cb202a9f01ff2ab3316bcb7cca3949685772e7a7129c0ddedddcb22f3eb412f19ee18918489837de9 SHA512 850a3119bdfbed917daad16b6456d9bd81c50d88370098ae5f35306d9b9c98c514da693ffccbf8899fe434beaf3d1041c8f033410ec37a801849467807ad5334
|
EBUILD FORT-validator-1.1.3.ebuild 1036 BLAKE2B d9b043955d09d4521b6fd4bd5d918367410eb42a5570aa2cb202a9f01ff2ab3316bcb7cca3949685772e7a7129c0ddedddcb22f3eb412f19ee18918489837de9 SHA512 850a3119bdfbed917daad16b6456d9bd81c50d88370098ae5f35306d9b9c98c514da693ffccbf8899fe434beaf3d1041c8f033410ec37a801849467807ad5334
|
||||||
MISC metadata.xml 366 BLAKE2B c2234c807433af153ff818c86a421c72181c278f95421339c5338d74e6962f3a33170d4cf7bbae97b46189986b30065b4a7342865a847612159f7a0e8539c0c3 SHA512 9a3e5b0062fe74ef8ff9413ec231002a4f226a66b2901cbb16a109b33261bc5fa0b9103d3f5f8b9d398dfea50514f0e56cfa5b025769f8c7e192484f25590880
|
MISC metadata.xml 366 BLAKE2B c2234c807433af153ff818c86a421c72181c278f95421339c5338d74e6962f3a33170d4cf7bbae97b46189986b30065b4a7342865a847612159f7a0e8539c0c3 SHA512 9a3e5b0062fe74ef8ff9413ec231002a4f226a66b2901cbb16a109b33261bc5fa0b9103d3f5f8b9d398dfea50514f0e56cfa5b025769f8c7e192484f25590880
|
||||||
|
|
|
@ -9,7 +9,7 @@ command_args="${FORT_OPTS}"
|
||||||
command_user="fort"
|
command_user="fort"
|
||||||
pidfile="/run/${RC_SVCNAME}.pid"
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
command_background=true
|
command_background=true
|
||||||
retry=20
|
retry=25
|
||||||
|
|
||||||
depend() {
|
depend() {
|
||||||
need net
|
need net
|
||||||
|
@ -25,12 +25,6 @@ start_pre() {
|
||||||
checkpath -d -m 0750 -o fort:fort ${FORT_BASEDIR}
|
checkpath -d -m 0750 -o fort:fort ${FORT_BASEDIR}
|
||||||
|
|
||||||
if [ "${RC_CMD}" = "restart" ] ; then
|
if [ "${RC_CMD}" = "restart" ] ; then
|
||||||
RUNNING_RSYNC="full"
|
sleep 20
|
||||||
|
|
||||||
while [ "${RUNNING_RSYNC}" ]; do
|
|
||||||
sleep 5
|
|
||||||
RUNNING_RSYNC=$(pgrep -u fort rsync)
|
|
||||||
return 0
|
|
||||||
done
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue