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 separatearks-daemonproduct binary) - Flag / behavior symmetry vs stock
git-daemonis a clean-room DoD pillar (pillar 2) - Must not spawn
gitorghon product paths - Typically weak or no auth / no SSL — prefer
arks servewhen 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; SSH keys (clean-room verified 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 (host-tested for parity against stock git daemon). service:upload-archive supports byte-identical ustar output via git archive --remote (path-filter / non-ustar remain partial). Windows: --syslog / --detach / --user / --group are refused (no /dev/log, fork or setuid).
Additional clean-room receipts:
| Item | Status | Notes |
|---|---|---|
Archive format parity (upload-archive) |
Verified | Docker cmp -s vs stock git-daemon 2.39.5 (archive parity receipt) |
| Syslog facility/priority | Verified | Docker collector PRI=30 (LOG_DAEMON + LOG_INFO); Windows Event Log ≠ POSIX syslog (N/A) |
| Classic double-fork | Out of scope | 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.