Spaces:
Paused
Paused
Download entrypoint.sh from ednt/fmg080722p: direct link, hf CLI and curl.
- Browser
- Download file 244 Bytes
-
https://huggingface.co/spaces/ednt/fmg080722p/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/ednt/fmg080722p/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/ednt/fmg080722p/resolve/main/entrypoint.sh
244 Bytes
| # Start the background updater loop | |
| # It runs get.php every 60 seconds | |
| ( | |
| while true; do | |
| php /var/www/html/get.php | |
| sleep 60 | |
| done | |
| ) & | |
| # Start Apache in the foreground | |
| docker-php-entrypoint apache2-foreground | |