This repository has been archived on 2024-01-16. You can view files and clone it, but cannot push or open issues or pull requests.
huggingface-proxy/keepalive/hf-upkeep.service

16 lines
407 B
SYSTEMD

[Unit]
Description=Huggingface Proxy Upkeep Daemon
After=network.target
StartLimitIntervalSec=0
[Service]
User=server
Group=server
Type=simple
ExecStart=/srv/server/huggingface-proxy/venv/bin/python3 /srv/server/huggingface-proxy/keepalive.py --token hf_XXX --username example --cookies /srv/server/huggingface-proxy/cookies.txt --headless
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target