toolguard-daemon-control
johnnylambada द्वारा
iOS & macOS Developmentसंक्षिप्त
Manage long-running processes as macOS launchd services.
विवरण
यह स्किल क्या करती है
Manages executables as persistent macOS launchd user agents. Handles plist creation, service lifecycle (start, stop, restart), and log access through a set of shell scripts. Services auto-restart on crash and run without elevated privileges.
Using launchd instead of background shell processes means services survive session ends and restart automatically on failure without any manual intervention.
इसे कब इस्तेमाल करें
- Keep a local proxy server running after terminal closes
- Auto-restart a development backend that crashes intermittently
- Run a scheduled background worker as a persistent user service
- Check which background services are currently active on macOS
- Tail logs from a long-running daemon without manual log hunting
उदाहरण वर्कफ़्लो
User asks: run my Go server at ~/projects/myapp as a background service that restarts on crash
- 1
Build the Go binary with go build to produce an absolute binary path
- 2
Call install.sh with the service name, binary path, any required args, and --workdir set to the project directory
- 3
Verify the service is running with status.sh
- 4
Confirm log output is appearing with logs.sh --follow
Service installed at ~/Library/LaunchAgents/ai.toolguard.myapp.plist, running as a user agent, logs streaming to ~/Library/Logs/toolguard/myapp/
इंस्टॉलेशन
clawhub install johnnylambada/toolguard-daemon-controlCLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।