diff options
author | Runxi Yu <me@runxiyu.org> | 2025-04-03 15:52:08 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-04-03 15:52:08 +0800 |
commit | 400320ffafb7996754487a8d05ed5fd90724c45b (patch) | |
tree | d9d6e1aea254078ebb6cf3bc1ba856d40c75457e | |
parent | git2d: Initialize the path to zeros (diff) | |
download | forge-400320ffafb7996754487a8d05ed5fd90724c45b.tar.gz forge-400320ffafb7996754487a8d05ed5fd90724c45b.tar.zst forge-400320ffafb7996754487a8d05ed5fd90724c45b.zip |
config: Add git.socket for git2d
-rw-r--r-- | config.go | 1 | ||||
-rw-r--r-- | forge.scfg | 4 | ||||
-rw-r--r-- | man/lindenii-forge.5 | 3 |
3 files changed, 8 insertions, 0 deletions
@@ -40,6 +40,7 @@ var config struct { } `scfg:"lmtp"` Git struct { RepoDir string `scfg:"repo_dir"` + Socket string `scfg:"socket"` } `scfg:"git"` SSH struct { Net string `scfg:"net"` @@ -37,7 +37,11 @@ irc { } git { + # Where should newly-created Git repositories be stored? repo_dir /var/lib/lindenii/forge/repos + + # Where should git2d listen on? + socket /var/run/lindenii/forge/git2d.sock } ssh { diff --git a/man/lindenii-forge.5 b/man/lindenii-forge.5 index 18c61df..5032d23 100644 --- a/man/lindenii-forge.5 +++ b/man/lindenii-forge.5 @@ -65,6 +65,9 @@ Configures Git repository storage. .Bl -tag -width Ds .It Ic repo_dir Filesystem path under which new repositories are stored. +.It Ic socket +Filesystem path for the socket listened on by +.Xr lindenii-forge-git2d 1 .El .It Ic db Configures database connection. |