borg-backup-scripts/install.sh

6 lines
161 B
Bash
Executable file

#!/bin/bash
BASEDIR=$(dirname $0)
install --owner=0 --group=0 --mode=444 $BASEDIR/borg-{backup,prune}@.{service,timer} /etc/systemd/system/
mkdir -p /etc/borg