termuxにおけるservice
opensshをインスコしたときの説明より
If you plan to use the 'ssh-agent it is recommended to run it as a service.
Run 'pkg i termux-services' to install the ('runit') service manager
You can enable the ssh-agent service using 'sv-enable ssh-agent'
You can also enable sshd to autostart using 'sv-enable sshd'
有効化/起動
code:sh
sv-enable sshd
ログ
$PREFIX/var/log/sv/<service>/ にある
例: $PREFIX/var/log/sv/sshd/current