mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-11-23 05:35:28 +01:00
7 lines
204 B
Bash
Executable File
7 lines
204 B
Bash
Executable File
#!/bin/bash
|
|
originalfile="/usr/src/app/env.js"
|
|
tmpfile=$(mktemp)
|
|
cp --attributes-only --preserve $originalfile $tmpfile
|
|
cat $originalfile | envsubst | tee $tmpfile && mv $tmpfile $originalfile
|
|
exec "$@"
|