mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 02:43:44 +00:00
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>
26 lines
838 B
Desktop File
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
|