| 1234567891011121314151617181920212223242526272829303132 |
- [Unit]
- Description=Agent Manager - Gogs Webhook Server
- Documentation=https://github.com/fszontagh/agent-manager
- After=network.target
- [Service]
- Type=simple
- User=claude
- Group=claude
- WorkingDirectory=/home/claude/agent-manager
- ExecStart=/usr/bin/node src/index.js
- Restart=on-failure
- RestartSec=10s
- # Environment
- Environment=NODE_ENV=production
- # Security hardening
- NoNewPrivileges=true
- PrivateTmp=true
- ProtectSystem=strict
- # Note: ProtectHome removed to allow Claude to work with repositories under /home/claude/
- # The service runs as 'claude' user which is already restricted to its own home directory
- ReadWritePaths=/home/claude
- # Logging
- StandardOutput=journal
- StandardError=journal
- SyslogIdentifier=agent-manager
- [Install]
- WantedBy=multi-user.target
|