fix: various minor bugs

This commit is contained in:
Strix 2023-10-20 02:43:56 +02:00
parent 7d9241c000
commit db4f5eca5f
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
5 changed files with 11 additions and 6 deletions

View file

@ -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