void-packages/srcpkgs/elasticsearch/INSTALL
bougyman 46bf4dca26 New package: elasticsearch-1.5.0
elasticsearch: correct license
2015-04-04 23:05:11 -05:00

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