Kopia server sussessfuly start and working on FreeBSD from ssh console.
But when it started from autorun script /etc/rc.local
it started but not accept client connection.
When you run programs from rc.local or from cron, always use full path to a program, keep also in mind that FreeBSD default shell isn’t a bash. Also use \ as the last character when you split command across multiple lines
I can’t see the option --config-file that points to config file. When you run a program from rc.local, that program has no home, no PATH, nothing, you have to feed the program with all paths