Do not insist on being started as root, but use sudo to call megarc