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