fix: various minor bugs
This commit is contained in:
parent
7d9241c000
commit
db4f5eca5f
5 changed files with 11 additions and 6 deletions
|
@ -3,5 +3,6 @@
|
|||
if ! [ -d "servers/${1:-$HOSTNAME}" ]; then
|
||||
echo "setting up servers/${1:-$HOSTNAME}..."
|
||||
cp -r servers/skel/. servers/${1:-$HOSTNAME}
|
||||
sed -i "s/localhost/${1:-$HOSTNAME}.ixvd.net/g" servers/${1:-$HOSTNAME}/docker-compose.d/custom/nginx/conf.d/default.conf
|
||||
echo "server configuration for \`${1:-$HOSTNAME}\`." >servers/${1:-$HOSTNAME}/README.md
|
||||
fi
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue