How to Use launchd to Run Services in macOS
First KCPTUN
brew install kcptun
Second KCPTUN
cp ./Library/LaunchAgents/homebrew.mxcl.kcptun.plist ./Library/LaunchAgents/homebrew.mxcl.kcptun2.plist
cp /usr/local/etc/kcptun_client.json /usr/local/etc/kcptun_client2.json
// edit homebrew.mxcl.kcptun2.plist and kcptun_client2.json
launchctl load ./Library/LaunchAgents/homebrew.mxcl.kcptun2.plist