#!/bin/sh # The daemon launcher, at /bin/albedo-daemon in the AppImage and the # packages: the bundled tools first on PATH (the daemon finds python3, rg and # erl there), then the shipment's entry point. ALBEDO_DAEMON names this file. set -eu root="$(cd "$(dirname "$(readlink -f "$0")")/.." && pwd)" export PATH="$root/bin:$root/python/bin:$root/erlang/lib/erlang/bin:$PATH" exec "$root/lib/albedo/albedo/priv/bin/albedo-daemon" "$root/lib/albedo/entrypoint.sh" run "$@"