From 3579c39f6c69481180dea2f5926fb64486883dbc Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 31 Mar 2025 17:21:18 +0800 Subject: [PATCH] Add a forge(1) man page --- Makefile | 2 +- man/forge.1 | 35 +++++++++++++++++++++++++++++++++++ diff --git a/Makefile b/Makefile index a5e77177a0a4f6abbcc138c1e36a41ba365fe9d5..a5c947768873c6f60290bf61cb946e12924ab032 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ .PHONY: clean version.go man source.tar.gz CFLAGS = -Wall -Wextra -Werror -pedantic -std=c99 -D_GNU_SOURCE -MAN_PAGES = forge.5 hookc.1 +MAN_PAGES = forge.5 hookc.1 forge.1 forge: source.tar.gz version.go hookc/*.c hookc/hookc man # TODO go build . diff --git a/man/forge.1 b/man/forge.1 new file mode 100644 index 0000000000000000000000000000000000000000..dd1960f90cc262650f99d1113e4c3c9011ca5700 --- /dev/null +++ b/man/forge.1 @@ -0,0 +1,35 @@ +.\" SPDX-License-Identifier: AGPL-3.0-only +.\" SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu +.Dd March 30, 2025 +.Dt FORGE 1 +.Os Lindenii Forge +.Sh NAME +.Nm forge +.Nd Lindenii Forge server daemon +.Sh SYNOPSIS +.Nm +.Op Fl config Ar path +.Sh DESCRIPTION +.Nm +is the main server daemon for Lindenii Forge. +.Pp +All configuration is loaded from a configuration file; see +.Xr forge 5 . +.Pp +All listeners are long-lived; the process runs until interrupted. +.Sh OPTIONS +.Bl -tag -width Ds +.It Fl config Ar path +The path to the configuration file. Defaults to +.Pa /etc/lindenii/forge.scfg . +.El +.Sh FILES +.Bl -tag -width Ds +.It Pa /etc/lindenii/forge.scfg +Default configuration file. +.El +.Sh SEE ALSO +.Xr forge 5 +.Sh AUTHORS +.An Runxi Yu Aq Mt https://runxiyu.org +.An Test_User Aq Mt hax@runxiyu.org -- 2.48.1