fix: rename directory, fix script and correct README.md

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2022-09-25 16:24:10 +02:00
parent a9435e3652
commit 92a77d0489
5 changed files with 19 additions and 14 deletions

View file

@ -0,0 +1,16 @@
#!/bin/bash
#
# SPDX-FileCopyrightText: 2022 The HedgeDoc developers (see AUTHORS file)
#
# SPDX-License-Identifier: AGPL-3.0-only
#
set -e
if [ ! -f caddy ]
then
curl -o caddy "https://caddyserver.com/api/download"
chmod +x ./caddy
fi
exec ./caddy run