7 lines
287 B
Bash
Executable file
7 lines
287 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
cp /config/config.yaml /data/config.yaml
|
|
sed -i "s#AS_TOKEN#${AS_TOKEN}#g" /data/config.yaml
|
|
sed -i "s#HS_TOKEN#${HS_TOKEN}#g" /data/config.yaml
|
|
sed -i "s#TG_API_ID#${TG_API_ID}#g" /data/config.yaml
|
|
sed -i "s#TG_API_HASH#${TG_API_HASH}#g" /data/config.yaml
|