diff options
author | Tim <contact@bytim.eu> | 2025-01-03 13:02:13 +0100 |
---|---|---|
committer | Tim <contact@bytim.eu> | 2025-01-03 13:02:13 +0100 |
commit | ad66e2f3a9bb2c4d2a7566151d75986d459c4e5b (patch) | |
tree | 28220d8317648b7b9fdc4cfd01647c844c5a2326 | |
parent | a694f3e1952fa2d4515751397deaf6512cfd4632 (diff) | |
download | GitAutoFetch-ad66e2f3a9bb2c4d2a7566151d75986d459c4e5b.tar.xz GitAutoFetch-ad66e2f3a9bb2c4d2a7566151d75986d459c4e5b.zip |
Add README.md
-rw-r--r-- | README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..2e098b0 --- /dev/null +++ b/README.md @@ -0,0 +1,15 @@ +# GitAutoFetch + +Fetch your git repos and clear your cgit cache every hour. + +## Usage + +Create a .env File with the following environment variables: + +| name | description | default | +|----------------------|----------------------------------------------------------------------|----------| +| GIT_DIRECTORY | The path to the directory where your git repositories are. | ./repos/ | +| CGIT_CACHE_DIRECTORY | The CGit cache directory, leave blank to disable clearing the cache. | | + +Now run the Program from the same directory. Alternatively you can provide the environment variables to the process. +The ``gitautofetch.service`` file could be a good template for a systemd service that runs GitAutoFetch in the background. |