Files
Echoion/systemd/echoion-standalone.service
T
faumaray 3b3dd2be4f New arch
Signed-off-by: faumaray <faumaray@gmail.com>
2026-07-11 15:07:20 +03:00

34 lines
1.2 KiB
Desktop File

# Echoion standalone daemon — connects to a TeamSpeak 3/6 server as its own
# client over the native UDP protocol. Replaces the old
# teamspeak-echoion.service, which had to run a full GUI TeamSpeak client under
# Weston + RDP just to host the plugin. None of that is needed anymore.
#
# Install: copy `echoiond` and `Echoion.ts` (the Core library) somewhere on
# disk, put config.json in ~/.config/echoion/ (or pass --config), then:
# systemctl --user enable --now echoion-standalone
#
# Identity is generated on first run and persisted to
# ~/.config/echoion/identity.txt (override with ECHOION_IDENTITY_PATH).
[Unit]
Description=Echoion Music Bot (standalone TeamSpeak client)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
# Directory holding echoiond and the Core library Echoion.ts.
WorkingDirectory=%h/echoion
Environment=ECHOION_CORE_PATH=%h/echoion/Echoion.ts
# Optional tuning:
# Environment=ECHOION_SECURITY_LEVEL=8
# Environment=ECHOION_OPUS_BITRATE=96000
# Environment=ECHOION_IDENTITY_PATH=%h/.config/echoion/identity.txt
ExecStart=%h/echoion/echoiond --config %h/.config/echoion/config.json
Restart=always
RestartSec=5
LimitNOFILE=65536
[Install]
WantedBy=default.target