tools: register the updater in the normal command path (#24)

Use /usr/local/bin for container updater discovery and print an absolute command path for custom shells. Preserve managed links and operator files; cover shell lookup without sbin.

Closes #23
This commit was merged in pull request #24.
This commit is contained in:
2026-11-15 15:10:56 +01:00
parent 43caf1e412
commit f45e065994
8 changed files with 52 additions and 7 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ APP = Path("/opt/finaltoken")
BUILD = Path("/var/cache/finaltoken-build")
SERVER_HOME = Path("/var/lib/finaltoken-server")
WORKER_HOME = Path("/var/lib/finaltoken-worker")
UPDATER = Path("/usr/local/sbin/finaltoken-update")
UPDATER = Path("/usr/local/bin/finaltoken-update")
SYSTEMD = Path("/etc/systemd/system")