1 parent
818d391022
commit
639362fbf5
40 files changed
+6701
-429
No files matched your search
+9
-41
@@ -1,43 +1,11 @@
|
||||
# Echoion Standalone systemd service
|
||||
# Echoion systemd compatibility note
|
||||
|
||||
Echoion is deployed as the `echoiond` standalone daemon. The legacy TeamSpeak
|
||||
client plugin and its graphical/headless TeamSpeak client services are no
|
||||
longer supported.
|
||||
Service installation is owned by `packaging/install.sh`; the rendered source
|
||||
template is `packaging/service/echoion.service.in`. The installer understands
|
||||
system, user, and portable prefixes, escapes paths correctly, records the unit
|
||||
hash for safe upgrades/removal, and leaves the service disabled and stopped
|
||||
unless `--start` is supplied.
|
||||
|
||||
## Install
|
||||
|
||||
Build and install Echoion, then copy the user service:
|
||||
|
||||
```bash
|
||||
mkdir -p ~/.config/systemd/user
|
||||
cp systemd/echoion-standalone.service ~/.config/systemd/user/
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable --now echoion-standalone.service
|
||||
```
|
||||
|
||||
For a service that starts before interactive login, enable lingering for the
|
||||
service account:
|
||||
|
||||
```bash
|
||||
sudo loginctl enable-linger "$USER"
|
||||
```
|
||||
|
||||
The service expects the installed `echoiond` executable, configuration, and
|
||||
release manifest paths documented in `echoion-standalone.service`. Override
|
||||
them without editing the tracked unit:
|
||||
|
||||
```bash
|
||||
systemctl --user edit echoion-standalone.service
|
||||
```
|
||||
|
||||
## Operations
|
||||
|
||||
```bash
|
||||
systemctl --user status echoion-standalone.service
|
||||
journalctl --user -u echoion-standalone.service -f
|
||||
systemctl --user restart echoion-standalone.service
|
||||
```
|
||||
|
||||
TeamSpeak protocol, query transport, identity, and typed administration are
|
||||
provided by VoidTeamspeak. EchoionStandalone only adapts those APIs to the
|
||||
Echoion core contracts.
|
||||
See the root README installation section for current commands. The old manual
|
||||
unit and two-file release manifest were removed because they could not describe
|
||||
the relocatable whole-payload release safely.
|
||||
@@ -1,35 +0,0 @@
|
||||
# Echoion standalone daemon. TeamSpeak transport and protocol behavior are
|
||||
# provided by VoidTeamspeak; this process hosts the Echoion adapter and core.
|
||||
#
|
||||
# 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).
|
||||
# Import an existing TeamSpeak-exported identity before enabling the service:
|
||||
# echoiond --import-identity identity.ini
|
||||
|
||||
[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
|
||||
# Atomically replace this manifest after staging and hashing a complete release.
|
||||
Environment=ECHOION_RELEASE_MANIFEST=%h/echoion/releases/pending-release.json
|
||||
# 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
|
||||
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"version": "1.1.0",
|
||||
"executable": "1.1.0/echoiond",
|
||||
"core": "1.1.0/Echoion.ts",
|
||||
"sha256": {
|
||||
"executable": "replace-with-lowercase-sha256",
|
||||
"core": "replace-with-lowercase-sha256"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user