oops
This commit is contained in:
parent
8ec98666fc
commit
5e5da3d880
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ cp -f /geoip2influx/geoip2influx.py /config/geoip2db
|
||||||
# move old log if needed
|
# move old log if needed
|
||||||
if [ -f /config/geoip2db/geoip2influx.log ]; then
|
if [ -f /config/geoip2db/geoip2influx.log ]; then
|
||||||
mv /config/geoip2db/geoip2influx.log /config/log/geoip2influx
|
mv /config/geoip2db/geoip2influx.log /config/log/geoip2influx
|
||||||
|
fi
|
||||||
# create GeoIP2 folder symlink
|
# create GeoIP2 folder symlink
|
||||||
[[ -d /var/lib/libmaxminddb ]] && [[ ! -L /var/lib/libmaxminddb ]] && \
|
[[ -d /var/lib/libmaxminddb ]] && [[ ! -L /var/lib/libmaxminddb ]] && \
|
||||||
rm -rf /var/lib/libmaxminddb
|
rm -rf /var/lib/libmaxminddb
|
||||||
|
|
Loading…
Reference in a new issue