- Add start-proxy.sh wrapper that handles nvm/fnm/volta/asdf - Add install-service.sh for one-command installation - Remove hardcoded node version paths from service file
32 lines
1.0 KiB
Desktop File
32 lines
1.0 KiB
Desktop File
# Antigravity Claude Proxy - systemd user service
|
|
#
|
|
# Installation:
|
|
# 1. Copy this file to ~/.config/systemd/user/antigravity-claude-proxy.service
|
|
# 2. Copy start-proxy.sh to a permanent location (e.g., ~/.local/bin/)
|
|
# 3. Update PROXY_SCRIPT below to point to start-proxy.sh
|
|
# 4. Run: systemctl --user daemon-reload
|
|
# 5. Run: systemctl --user enable --now antigravity-claude-proxy
|
|
#
|
|
# Management:
|
|
# systemctl --user status antigravity-claude-proxy
|
|
# systemctl --user restart antigravity-claude-proxy
|
|
# journalctl --user -u antigravity-claude-proxy -f
|
|
|
|
[Unit]
|
|
Description=Antigravity Claude Proxy Server
|
|
Documentation=https://github.com/badri-s2001/antigravity-claude-proxy
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
# Customize the port as needed
|
|
Environment=PORT=3001
|
|
# Path to the wrapper script - update this to match your installation
|
|
# The wrapper script handles nvm/fnm/volta/asdf automatically
|
|
ExecStart=%h/.local/bin/start-proxy.sh start
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=default.target
|