blob: af936afd41a8d090cb2295568a16e7fd4b795eb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/sh
ver_new="$1"
ver_old="$2"
if [ "$(apk version -t "$ver_old" "6.4.1-r1")" = "<" ]; then
chown elastico:elastico /var/log/elasticsearch/error.log 2>/dev/null
chown elastico:elastico /var/log/elasticsearch/*/error.log 2>/dev/null
fi
exit 0
|