Files
DarkflameServer/tools/chat-bridge/chat-bridge.service
Aaron Kimbrell e213a7aeff feat: web dashboard and playground work
The NexusDashboard-parity dashboard (dDashboardServer) and everything built on it on the experimental branch:
accounts, characters, properties and moderation tools, permissions shared with in-game slash commands, economy
reports, World 3D and property 3D views with client scenery, scheduled events (features, vanity changes, live
events, announcements, restarts), vanity files and events, the CDClient browser, the message inspector with saved
captures, chat filter tools, community challenges, live ops, the AI moderator helper, and the server-side changes
they need.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-28 22:30:43 -05:00

26 lines
838 B
Desktop File

# systemd unit for the chat bridge. Copy to /etc/systemd/system/, adjust the paths and user, then:
# sudo systemctl daemon-reload && sudo systemctl enable --now chat-bridge
[Unit]
Description=DarkflameServer chat bridge
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=dlu
WorkingDirectory=/opt/DarkflameServer/tools/chat-bridge
# DLU_API_TOKEN=..., DISCORD_BOT_TOKEN=..., DISCORD_WEBHOOK_URL=... (chmod 600)
EnvironmentFile=/etc/chat-bridge.env
ExecStart=/usr/bin/python3 -m chat_bridge --config /opt/DarkflameServer/tools/chat-bridge/config.json
# No stdin: the console adapter isn't for services
StandardInput=null
Restart=on-failure
RestartSec=10
NoNewPrivileges=true
ProtectSystem=strict
ReadWritePaths=/opt/DarkflameServer/tools/chat-bridge
PrivateTmp=true
[Install]
WantedBy=multi-user.target