From 923ac696f099bb6bfb87aadcdd98500fc6cc24a4 Mon Sep 17 00:00:00 2001
From: Luka Hietala <95122845+LukaHietala@users.noreply.github.com>
Date: Fri, 21 Nov 2025 20:16:57 +0200
Subject: [PATCH] update readme
---
README.md | 18 +++++++++++++-----
1 file changed, 13 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
index 2fb74b8..b4b1120 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ Fast webview using pygit2 (lib2git) bindings. For my personal use, for now
3. Set the `GIT_REPO_PATH` in .env to point to your git repositories dir
4. Create a systemd service to run the app (optional)
```ini
-# /etc/systemd/system/py-gitweb.service
+# /etc/systemd/system/lipasto.service
[Unit]
Description="mirrin lipasto"
After=network.target
@@ -22,9 +22,9 @@ After=network.target
User=USERNAME
Group=www-data
SupplementaryGroups=GITUSERGROUP # optional
-WorkingDirectory=/home/USERNAME/py-gitweb/
-Environment="PATH=/home/USERNAME/py-gitweb/.venv/bin:/usr/local/bin:/usr/bin:/bin"
-ExecStart=/home/USERNAME/py-gitweb/.venv/bin/gunicorn --bind unix:py-gitweb.sock --workers=4 --log-level=debug -m 007 wsgi:app
+WorkingDirectory=/home/USERNAME/lipasto/
+Environment="PATH=/home/USERNAME/lipasto/.venv/bin:/usr/local/bin:/usr/bin:/bin"
+ExecStart=/home/USERNAME/lipasto/.venv/bin/gunicorn --bind unix:lipasto.sock --workers=4 --log-level=debug -m 007 wsgi:app
[Install]
WantedBy=multi-user.target
@@ -36,10 +36,18 @@ server {
server_name git.mirrinlipasto.fi;
location / {
include proxy_params;
- proxy_pass http://unix:/home/USERNAME/py-gitweb/py-gitweb.sock;
+ proxy_pass http://unix:/home/USERNAME/lipasto/py-gitweb.sock;
}
}
```
Note: Libgit2 might have some issues with git.safe dir settings. If you run into issues, try setting `git config --global --add safe.directory '*'`
+
+
+
+
+
+
+
+
--
2.47.3