RangerMauve / dat-store

A CLI tool for backing up hyperdrive datasets
GNU Affero General Public License v3.0
59 stars 14 forks source link

A new script for creating a SystemD service #40

Closed ElonSatoshi closed 5 years ago

ElonSatoshi commented 5 years ago

Introducing: A script for adding dat-store to SystemD, that works.

sudo cat << EOF > /etc/systemd/system/dat-store.service fails with zsh: permission denied: /etc/systemd/system/dat-store.service on my machine.

I've tested this modified script on bash, zsh, and sh and it works quite well (unless I paste it directly into an interactive sh terminal, then it fails to parse which dat-store.). I also made it so that you don't have to specify the location of dat-store manually.

RangerMauve commented 5 years ago

This looks great, thank you! 💜