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.
Introducing: A script for adding dat-store to SystemD, that works.
sudo cat << EOF > /etc/systemd/system/dat-store.service
fails withzsh: 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.