Files

10 lines
167 B
Bash
Executable File

#!/bin/bash -eu
export APP_VERSION=$(cat /app/APP_VERSION)
if [ "$PGID" != "0" ]; then
$(dirname $0)/init.sh chpst -u junv ./forego start
else
./forego start
fi