mirror of
https://github.com/YunoHost-Apps/peertube-search-index_ynh.git
synced 2024-09-03 19:56:30 +02:00
Fix potential permission issue
This commit is contained in:
parent
78616d5cea
commit
1224266473
1 changed files with 3 additions and 0 deletions
|
@ -21,6 +21,9 @@ ynh_install_nodejs --nodejs_version="$NODEJS_VERSION"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting elasticsearch..."
|
||||
|
||||
# Fix permissions in case of remove/reinstall
|
||||
chown -R elasticsearch:elasticsearch /var/lib/elasticsearch
|
||||
|
||||
systemctl enable elasticsearch.service --quiet
|
||||
systemctl start elasticsearch.service
|
||||
|
||||
|
|
Loading…
Reference in a new issue