mirror of
https://git.cloudron.io/cloudron/prometheus-server-app.git
synced 2024-11-28 03:10:59 +00:00
not needed anymore
This commit is contained in:
parent
4933820280
commit
1631b04cd0
1 changed files with 0 additions and 8 deletions
8
start.sh
8
start.sh
|
@ -2,9 +2,6 @@
|
|||
|
||||
set -eu
|
||||
|
||||
# migration remove in next release
|
||||
[[ -d /app/data/runtime ]] && mv /app/data/runtime /app/data/storage
|
||||
|
||||
mkdir -p /app/data/storage /app/data/config
|
||||
|
||||
if [[ ! -f /app/data/config/prometheus.yml ]]; then
|
||||
|
@ -21,11 +18,6 @@ if [[ ! -f /app/data/env.sh ]]; then
|
|||
cp /app/pkg/env.sh.template /app/data/env.sh
|
||||
fi
|
||||
|
||||
# migration remove in next release
|
||||
if ! grep -q cli_option /app/data/env.sh; then
|
||||
echo -e '\nexport cli_options="--storage.tsdb.retention.time=$retention_time --storage.tsdb.path=/app/data/storage"' >> /app/data/env.sh
|
||||
fi
|
||||
|
||||
echo "=> Source custom variables for cli args"
|
||||
source /app/data/env.sh
|
||||
|
||||
|
|
Loading…
Reference in a new issue