do not delete data on remove
This commit is contained in:
parent
93134bd89e
commit
30dbb0773f
|
@ -3,8 +3,8 @@ set -e
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
remove)
|
remove)
|
||||||
# Remove logs and data
|
# Remove logs but not the data
|
||||||
rm -rf /var/log/elasticsearch /var/lib/elasticsearch
|
rm -rf /var/log/elasticsearch
|
||||||
;;
|
;;
|
||||||
|
|
||||||
purge)
|
purge)
|
||||||
|
|
Loading…
Reference in New Issue