Skip to content
Product
On this page
  1. What it is
  2. Versus arks serve
  3. Honesty
  4. Next

arks daemon

arks daemon is the git-daemon peer on the same published arks binary. It serves the native git:// transport (default listen 9418 on loopback-friendly binds).

It is not the product forge host. For HTTP/SSH/forge API hosting, use arks serve.

What it is

  • Single release: still just arks (internal library may exist; no separate arks-daemon product binary)
  • Flag / behavior symmetry vs stock git-daemon is a clean-room DoD pillar (pillar 2)
  • Must not spawn git or gh on product paths
  • Typically weak or no auth / no SSL — prefer arks serve when auth matters
arks daemon --help
arks daemon --listen=127.0.0.1 --port=9418 --base-path=/srv/git --export-all
arks daemon --inetd --base-path=/srv/git          # from inetd / systemd socket
arks daemon --detach --pid-file=/run/arks-daemon.pid --user=git --base-path=/srv/git

Options and their spelling are the ones of git daemon (--opt=<value>; the first non-option word starts the directory list). One deliberate difference: without --listen, arks daemon binds 127.0.0.1 instead of every interface; pass --listen=0.0.0.0 to expose it like git daemon does.

Versus arks serve

  arks daemon arks serve
Peer git-daemon Self-hosted arks forge
Transports git:// HTTP (+ SSH + forge API modules)
Auth story Weak / usually none HTTP Basic + ops/in-process TLS (B9); SSH keys (B1/B2 Claimed where evidenced)
Required for git alias DoD? No No

Honesty

Daemon flag inventory: every git daemon option is implemented with git semantics — --inetd, --detach, --pid-file, --user/--group, --syslog / --log-destination, --base-path-relaxed, --user-path, --interpolated-path, --allow-override/--forbid-override with per-repository daemon.<service>, --access-hook, --[no-]informative-errors (Parity, host-tested against stock git daemon; a Docker pin receipt is still pending, so not Claimed). service:upload-archive enable+ustar Parity via git archive --remote (path-filter / non-ustar Stay Partial) + B5 Claimed byte-identical ustar. Windows: --syslog / --detach / --user / --group are refused (no /dev/log, fork or setuid).

Residual honesty (arks-claimed-residual-gates / arks-remaining-incompletes-wave):

Gate Class Notes
B5 archive format parity Claimed Docker cmp -s vs stock git-daemon 2.39.5 (20261111091600-claimed-daemon-archive)
B5+ syslog facility/priority Claimed Docker collector PRI=30 (LOG_DAEMON+LOG_INFO); Windows Event Log ≠ POSIX syslog (N/A)
Classic double-fork Refuse (terminal) Peer detach is single-fork+setsid; arks daemon --detach does the same

Partial ≠ Parity Claimed. Do not treat daemon flag completeness as “self-host Done.”

Owning SoTs: daemon product intent, daemon command matrix, claimed residual gates.

Next

Self-host Ports Completeness Limits

Edit this page

Back to top