Initial commit: MQTT to Clawdbot bridge
- Subscribe to MQTT topics, forward to Clawdbot webhook - Configurable via environment variables - Supports wake (system event) and agent (isolated) modes - Includes systemd service template - Home Assistant examples in README
This commit is contained in:
22
mqtt-clawdbot-bridge.service
Normal file
22
mqtt-clawdbot-bridge.service
Normal file
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=MQTT to Clawdbot Bridge
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/mqtt-clawdbot-bridge
|
||||
ExecStart=/usr/bin/node index.js
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
# Load environment from file
|
||||
EnvironmentFile=/opt/mqtt-clawdbot-bridge/.env
|
||||
|
||||
# Security hardening
|
||||
NoNewPrivileges=true
|
||||
ProtectSystem=strict
|
||||
ProtectHome=true
|
||||
PrivateTmp=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user