Migrate init script to procd