You can use supervisor to manage it.
[program:tun2socks]
command=tun2socks_darwin_amd64 -c=config.example.ini
stdout_logfile=/tmp/stdout.log
stderr_logfile=/tmp/stderr.log
You can use supervisor to manage it.
[program:tun2socks]
command=tun2socks_darwin_amd64 -c=config.example.ini
stdout_logfile=/tmp/stdout.log
stderr_logfile=/tmp/stderr.log