Spaces:
Sleeping
Sleeping
| [Unit] | |
| Description=TasteEngine Recommender System | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=abdallah | |
| WorkingDirectory=/home/abdallah/recommender-project/TasteEngine | |
| Environment=OPENBLAS_NUM_THREADS=1 | |
| Environment=OMP_NUM_THREADS=1 | |
| Environment=PREWARM_CACHE=1 | |
| EnvironmentFile=/home/abdallah/recommender-project/TasteEngine/.env | |
| ExecStart=/home/abdallah/.local/bin/gunicorn app:app \ | |
| --workers 4 \ | |
| --timeout 120 \ | |
| --bind 0.0.0.0:5000 \ | |
| --access-logfile /var/log/tasteengine/access.log \ | |
| --error-logfile /var/log/tasteengine/error.log \ | |
| --log-level info | |
| Restart=always | |
| RestartSec=5 | |
| [Install] | |
| WantedBy=multi-user.target | |