Manual Page Search Parameters

STAGIT-HOOK(5) File Formats Manual STAGIT-HOOK(5)

stagit-hookstagit-hook configuration file

The stagit-hook configuration file contains various options for stagit-hook(1). Options are specified one per line, with values separated by whitespace. Empty lines or lines beginning with hash ("#") are ignored.

The options are listed below:

url
Set the base url for stagit(1). Defaults to "https://$(hostname)/projects/".
directory
Set the root for generated pages. Defaults to "/var/www/htdocs/$(hostname)/projects/".
directory
Set the repository directory for generating the index. Defaults to the home directory.
path
Specifies the file that repositories must contain to be indexed. Defaults to "refs".
path
Use the favicon.png, logo.png, and style.css files from path to style repository and index pages as described in stagit(1) and stagit-index(1).

/etc/stagit-hook.conf
Contains configuration data for stagit-hook(1). (/etc/stagit-hook is also tried for backward compatibility.)

Here is an example /etc/stagit-hook:

baseurl https://example.com/git
basedir /var/www/htdocs/example.com/git
hasfile git-daemon-export-ok

stagit(1), stagit-hook(1), stagit-index(1)

Jacob R. Edwards <jacob@jacobedwards.org>

October 19, 2025 jacob