Tools
Status
Check and auto-start OpenClaw Gateway and DingTalk plugin service
README
# OpenClaw Status Skill
Check and auto-start OpenClaw Gateway and DingTalk plugin service.
## Quick Start
```bash
{baseDir}/scripts/check.sh
```
## Features
- ✅ Check if `openclaw-gateway` service is running
- 🚀 Auto-start if not running
- 🧹 Clean up stale PID files
- 📊 Display status (PID, port, etc.)
## What it does
1. Checks if `openclaw-gateway` service is running
2. If not running, automatically starts the service
3. Displays status including PID and listening port (18789)
4. DingTalk is loaded as an internal plugin within OpenClaw
## Output Examples
**Running:**
```
🦞 OpenClaw Gateway Status Check
==================================
✅ OpenClaw Gateway is running
Details:
PID: 9897
Port: 18789
Status: Listening on port 18789
```
**Not running (auto-start):**
```
⏸️ OpenClaw Gateway is not running
Starting OpenClaw Gateway...
✅ OpenClaw Gateway started successfully
PID: 15025
Port: 18789
```
## Manual Control
```bash
# Check status only
/etc/init.d/openclaw-gateway status
# Manual start
/etc/init.d/openclaw-gateway start
# Manual restart
/etc/init.d/openclaw-gateway restart
# Stop service
/etc/init.d/openclaw-gateway stop
```
## Requirements
- `bash`
- `grep`
- `ss` (socket statistics)
## License
MIT
tools
Comments
Sign in to leave a comment