46bf4dca26
elasticsearch: correct license
13 lines
397 B
Text
13 lines
397 B
Text
# INSTALL
|
|
case "$ACTION" in
|
|
post)
|
|
if [ "$UPDATE" != "yes" ]; then
|
|
# actions to execute if package is being installed.
|
|
install -d -m0750 /var/log/elasticsearch
|
|
install -d -m0750 /var/lib/elasticsearch/data
|
|
chown -R elastic /etc/elasticsearch
|
|
chown -R elastic /var/lib/elasticsearch/data
|
|
chown -R elastic /var/log/elasticsearch
|
|
fi
|
|
;;
|
|
esac
|