]> git.immae.eu Git - github/bastienwirtz/homer.git/blame - entrypoint.sh
Regroup all editable files in one place
[github/bastienwirtz/homer.git] / entrypoint.sh
CommitLineData
29d6b359
GT
1#!/bin/sh
2
a7ba289e
BW
3while true; do echo n; done | cp -Ri /www/default-assets/* /www/assets/
4
5# Ensure compatibility with previous version (config.yml was in the root directory)
6if [ -f "/www/config.yml" ]; then
7 yes n | cp -i /www/config.yml /www/assets
8fi
29d6b359
GT
9
10darkhttpd /www/ --no-listing --port $PORT