Although very different than a traditional Linux distribution, the init system for RancherOS might be worth taking a look at. It&#x27;s written entirely in Go as well.
<a href="https:&#x2F;&#x2F;github.com&#x2F;rancher&#x2F;os&#x2F;tree&#x2F;master&#x2F;init" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rancher&#x2F;os&#x2F;tree&#x2F;master&#x2F;init</a>