aboutsummaryrefslogtreecommitdiffhomepage
path: root/entrypoint.sh
blob: 0b7cd24ee0f788b524231a6c6bbc0b1f3012d360 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

while true; do echo n; done | cp -Ri /www/default-assets/* /www/assets/

# Ensure compatibility with previous version (config.yml was in the root directory)
if [ -f "/www/config.yml" ]; then
    yes n | cp -i /www/config.yml /www/assets
fi

darkhttpd /www/ --no-listing --port $PORT