init:main: move canary_init initialization