Jelajahi Sumber

docs: add systemctl restart command documentation #17

Claude 9 bulan lalu
induk
melakukan
538b275a45
1 mengubah file dengan 21 tambahan dan 0 penghapusan
  1. 21 0
      CLAUDE.md

+ 21 - 0
CLAUDE.md

@@ -86,6 +86,27 @@ npm run dev            # Start with auto-reload (--watch flag)
 node examples/with-callbacks.js  # Run callback example
 ```
 
+## System Management (Production)
+
+The agent-manager service runs as a systemd service on the production system.
+
+**Restart the service:**
+```bash
+sudo /bin/systemctl restart agent-manager
+```
+
+**Check service status:**
+```bash
+sudo /bin/systemctl status agent-manager
+```
+
+**View service logs:**
+```bash
+sudo journalctl -u agent-manager -f
+```
+
+**Note**: The `claude` user has passwordless sudo access to restart the agent-manager service via `/etc/sudoers.d/50-agent-manager` configuration.
+
 **Testing endpoints:**
 ```bash
 curl http://localhost:3000/health