9 lines
178 B
Bash
Executable File
9 lines
178 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
sed -i 's|"basePath": "/techradar"|"basePath": "'${BASE_PATH:-/}'"|' config.json
|
|
|
|
|
|
trap 'kill -SIGQUIT $PID' INT
|
|
|
|
exec $@ &
|
|
PID=$! && echo "PID=$PID" && wait |