11 lines
195 B
Bash
11 lines
195 B
Bash
#!/bin/sh
|
|
set -eu
|
|
cd "$(dirname "$0")/.."
|
|
|
|
if [ ! -f .env ]; then
|
|
echo "restart.sh: .env is missing (copy .env.example and fill it)" >&2
|
|
exit 1
|
|
fi
|
|
|
|
docker compose --env-file .env restart
|