Checkmk_agent with custom port 5666

Hello. Check out Dirks Solution here: How to change default port for checkmk linux agent 2.1 version