#!/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
|