borg-backup-scripts/install_as_link.sh

6 lines
116 B
Bash
Executable file

#!/bin/bash
BASEDIR=$(dirname $0)
systemctl link $BASEDIR/borg-{backup,prune}@.{service,timer}
mkdir -p /etc/borg