feat(codex-oauth-proxy): package private-state user service

This commit is contained in:
Marmel Coder
2026-11-12 16:40:15 +03:00
parent dface8eb87
commit 4d08fafddc
2 changed files with 23 additions and 0 deletions
@@ -0,0 +1,16 @@
[Unit]
Description=Codex OAuth proxy
[Service]
Type=simple
ExecStart=@out@/bin/codex-oauth-proxy --creds-store=auto --creds-path=%S/codex-oauth-proxy/auth.json
StateDirectory=codex-oauth-proxy
StateDirectoryMode=0700
UMask=0077
Restart=on-failure
RestartSec=5
StandardOutput=null
StandardError=null
[Install]
WantedBy=default.target