Spaces:
Sleeping
Sleeping
Download run.sh from vectorfox2/tr: direct link, hf CLI and curl.
- Browser
- Download file 389 Bytes
-
https://huggingface.co/spaces/vectorfox2/tr/resolve/main/run.sh
- Command line
-
hf download hf://spaces/vectorfox2/tr/run.sh
-
curl -L -o run.sh https://huggingface.co/spaces/vectorfox2/tr/resolve/main/run.sh
389 Bytes
| set -e | |
| # Setup PostgreSQL | |
| echo "[4/8] Configuring PostgreSQL..." | |
| service postgresql start | |
| sleep 2 | |
| # Start services | |
| echo "[8/8] Starting services..." | |
| service php8.2-fpm start | |
| service nginx start | |
| # Start feed updater daemon | |
| # sudo -u www-data php /tmp/ttrss/update.php --daemon > /tmp/ttrss-updater.log 2>&1 & | |
| sudo -u www-data php /tmp/ttrss/update.php --daemon | |
| # sleep 999d | |