You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
187 B

  1. #!/bin/sh
  2. for FOLDER in /data/gitea/conf /data/gitea/log /data/git /data/ssh; do
  3. mkdir -p ${FOLDER}
  4. done
  5. if [ $# -gt 0 ]; then
  6. exec "$@"
  7. else
  8. exec /bin/s6-svscan /etc/s6
  9. fi