mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
12 lines
No EOL
308 B
Bash
Executable file
12 lines
No EOL
308 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ $(id -u) -ne 0 ] ; then
|
|
echo "❌ Run me as root"
|
|
exit 1
|
|
fi
|
|
|
|
mkdir /opt/bunkerweb/www/{app1,app2}
|
|
echo "hello" > /opt/bunkerweb/www/app1/index.html
|
|
echo "hello" > /opt/bunkerweb/www/app2/index.html
|
|
cp -r bw-data/configs/* /opt/bunkerweb/configs
|
|
chown -R nginx:nginx /opt/bunkerweb/configs |