forked from gitea/gitea
1
0
Fork 0
gitea/docker/usr/bin/entrypoint

12 lines
187 B
Bash
Executable File

#!/bin/sh
for FOLDER in /data/gitea/conf /data/gitea/log /data/git /data/ssh; do
mkdir -p ${FOLDER}
done
if [ $# -gt 0 ]; then
exec "$@"
else
exec /bin/s6-svscan /etc/s6
fi