我希望能够调用 footclient 而不询问我服务器是否已在运行,并且没有 systemd 服务(当然也没有“failed to connect (is 'foot --server' running?)"
错误!”),
即没有自动启动foot --server
,但这是第一个将启动服务器的 footclient 调用(其后续 footclient 将加入)。
我根据自己的需求阅读的所有内容(特别是对功能、性能和稳定性的有趣探索,或关于将 systemd 服务集成到 foot 的讨论)
都围绕在会话启动时启动守护进程(通常通过 systemd,但我在 FreeBSD 上)。
仍然有可能使用包装脚本(footclient || case $? in 220) foot --server && footclient ;; esac
),
但令我惊讶的是,这种“明显”的用法尚未集成到 Foot 中。