mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
10 lines
No EOL
169 B
Bash
Executable file
10 lines
No EOL
169 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ $(id -u) -ne 0 ] ; then
|
|
echo "❌ Run me as root"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir elasticsearch-data
|
|
chown 1001:1001 elasticsearch-data
|
|
chmod 770 elasticsearch-data |