2026-01-24 03:52:13 +01:00
|
|
|
[Unit]
|
2026-02-26 16:44:34 +01:00
|
|
|
Description=Codeman Web Server
|
2026-01-24 03:52:13 +01:00
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
|
Type=simple
|
2026-02-27 01:07:03 +01:00
|
|
|
WorkingDirectory=/home/arkon/default/claudeman
|
2026-02-25 09:07:10 +01:00
|
|
|
ExecStart=/usr/bin/node dist/index.js web --https
|
2026-01-24 03:52:13 +01:00
|
|
|
Restart=always
|
|
|
|
|
RestartSec=5
|
2026-01-24 19:37:39 +01:00
|
|
|
KillMode=process
|
2026-01-24 03:52:13 +01:00
|
|
|
Environment=NODE_ENV=production
|
|
|
|
|
Environment=HOME=/home/arkon
|
2026-03-14 19:20:44 +01:00
|
|
|
Environment=NODE_COMPILE_CACHE=/home/arkon/.codeman/compile-cache
|
2026-06-08 19:34:36 +02:00
|
|
|
# Loopback bind (default, no --host) + no password: safe out of the box. Hooks
|
|
|
|
|
# reach 127.0.0.1, and `tailscale serve` fronts it on the tailnet only (real
|
|
|
|
|
# cert, no LAN exposure, no app login). To expose on the LAN instead, add
|
|
|
|
|
# Environment=CODEMAN_HOST=0.0.0.0 + Environment=CODEMAN_PASSWORD=... .
|
|
|
|
|
# See docs/security-architecture.md.
|
2026-06-08 17:01:17 +02:00
|
|
|
Environment=CODEMAN_GESTURE=1
|
2026-06-08 19:34:36 +02:00
|
|
|
# ^ Makes the gesture-control overlay AVAILABLE (CSP widening + /gesture/ assets);
|
|
|
|
|
# the actual on/off stays the per-user App Settings toggle (default OFF).
|
2026-01-24 03:52:13 +01:00
|
|
|
|
|
|
|
|
# Logging
|
|
|
|
|
StandardOutput=journal
|
|
|
|
|
StandardError=journal
|
2026-02-26 16:44:34 +01:00
|
|
|
SyslogIdentifier=codeman
|
2026-01-24 03:52:13 +01:00
|
|
|
|
|
|
|
|
# Resource limits
|
|
|
|
|
LimitNOFILE=65536
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=default.target
|