mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-30 10:05:10 +01:00
12 lines
187 B
Plaintext
12 lines
187 B
Plaintext
|
#!/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
|