diff options
author | Runxi Yu <me@runxiyu.org> | 2025-02-17 01:58:46 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-02-17 01:58:46 +0800 |
commit | 2c37df3c0b52a3954e2159e6f03ee3a19b959270 (patch) | |
tree | 6acafb3bab9d76058bba7396994753c860f24c1a | |
parent | git_hooks_client: Splice stdin (diff) | |
download | forge-2c37df3c0b52a3954e2159e6f03ee3a19b959270.tar.gz forge-2c37df3c0b52a3954e2159e6f03ee3a19b959270.tar.zst forge-2c37df3c0b52a3954e2159e6f03ee3a19b959270.zip |
config.go: git.hooks_socket
Diffstat (limited to '')
-rw-r--r-- | config.go | 3 | ||||
-rw-r--r-- | forge.scfg | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -21,6 +21,9 @@ var config struct { CookieExpiry int `scfg:"cookie_expiry"` Root string `scfg:"root"` } `scfg:"http"` + Git struct { + HooksSocket string `scfg:"hooks_socket"` + } `scfg:"git"` SSH struct { Net string `scfg:"net"` Addr string `scfg:"addr"` @@ -22,5 +22,5 @@ db { } git { - root /srv/git + hooks_socket /var/run/lindenii/forge/hooks.sock } |