mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 11:13:22 +03:00
1519db72c2
The .gitlab directory is no longer relevant. This moves the entrypoint script to `rel/` directory and copies from there.
15 lines
169 B
Bash
Executable File
15 lines
169 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$1" = 'run' ]; then
|
|
exec /app/bin/plausible start
|
|
|
|
elif [ "$1" = 'db' ]; then
|
|
exec /app/"$2".sh
|
|
else
|
|
exec "$@"
|
|
|
|
fi
|
|
|
|
exec "$@"
|