hacks/osmand-maps/run.sh

11 lines
182 B
Bash
Raw Normal View History

2022-11-17 09:12:52 +00:00
#!/bin/bash
chmod a+rx /work/bin/*
bash -c "/work/bin/gen.sh" &
rm -rfv /var/www/html
ln -s /work/webroot /var/www/html
chmod -Rv a+rx /work/webroot/*
exec nginx -g "daemon off;"