hypercore-protocol / hyperdrive-daemon

Hyperdrive, batteries included.
MIT License
156 stars 23 forks source link

Allow owning user and group of hyperdrive folder as well as force flag for install #12

Closed emilbayes closed 5 years ago

emilbayes commented 5 years ago

Needed these options as I have a setup with a privileged and unprivileged user, and the current setup needs sudo but I want to use hyperdrive from my unprivileged user. I also added a force flag, since all steps seem to be idempotent (correct me if I'm wrong)

andrewosh commented 5 years ago

Yep the steps are all idempotent, so this looks solid! Merging