This repository has been archived on 2026-04-25. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
hf-cli-rpm/README-user-systemd.md
demus e434796e4b
Build and provide rpm of demus profiles / rpmbuild (release) Failing after 59s
Release 1.0.0: hf-cli rpm and systemd timer
2025-02-07 11:09:15 +01:00

510 B

Set up hf-cli for automatic daily downloads

To enable daily runs, you first need to generate a config.json file defining what to download and where to put it:

hf-cli --setup

then you need to enable the timer for the user and enable lingering, so the timer is executed even when the user is not logged in:

systemctl --user enable hf-cli.timer hf-cli.service
loginctl enable-linger

You can test the service by running it manually:

systemctl --user start hf-cli.service