borg-backup-scripts/install_as_link.sh

7 lines
116 B
Bash
Raw Normal View History

2023-04-04 23:36:20 +02:00
#!/bin/bash
BASEDIR=$(dirname $0)
systemctl link $BASEDIR/borg-{backup,prune}@.{service,timer}
mkdir -p /etc/borg