upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/explanation/grasp-02-proactive-sync-purgatory-git-data.md
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2026-01-20 07:43:02 +0000
committerDanConwayDev <DanConwayDev@protonmail.com>2026-01-20 07:43:02 +0000
commitf93fc0a691544cc3ddda322a7e99d0534d636dcc (patch)
treeb6822c0499b4f838601182d4609536d586da6d0f /docs/explanation/grasp-02-proactive-sync-purgatory-git-data.md
parent1d58ee5b01e28f77f736c9f415e0cc869a244cc6 (diff)
fix(nix): auto-create data directories with ExecStartPre
Add ExecStartPre directives to ensure data directories exist before service starts. This fixes service failures when using custom dataDir paths that don't exist yet. The tmpfiles.rules weren't automatically executed during nixos-rebuild switch, causing 'status=226/NAMESPACE' errors. ExecStartPre runs as root (+ prefix) to create directories with proper ownership/permissions.
Diffstat (limited to 'docs/explanation/grasp-02-proactive-sync-purgatory-git-data.md')
0 files changed, 0 insertions, 0 deletions