mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
16 lines
231 B
Bash
Executable File
16 lines
231 B
Bash
Executable File
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
status=0
|
|
if [[ $# -eq 0 ]] ; then
|
|
php /app/docker-entrypoint.php
|
|
status=$?
|
|
else
|
|
php /app/docker-entrypoint.php "$@"
|
|
status=$?
|
|
fi
|
|
|
|
[[ $status -ne 0 ]] && exit $status
|
|
|
|
exec rr serve -c .rr.yaml
|