Skip to content

Rewrite runit recipe to not use ohai platform plugin

Use a different detection like Jeroen's trick

if [[ `/sbin/init --version` =~ upstart ]]; then echo using upstart;
elif [[ `systemctl` =~ -\.mount ]]; then echo using systemd;
else echo using sysv-init;
fi