mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 18:48:06 +03:00
16 lines
174 B
Bash
Executable File
16 lines
174 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 "$@"
|
|
|