mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-25 11:16:31 -05:00
92a77d0489
Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
16 lines
256 B
Bash
16 lines
256 B
Bash
#!/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
|