From 744220e1a2641517cc7ad491aa62a63770b4d4d4 Mon Sep 17 00:00:00 2001 From: snaki Date: Mon, 11 Jul 2022 15:46:38 +0200 Subject: [PATCH] service modified --- btrbk.conf | 2 +- btrbk.service | 4 +--- btrbk.timer | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/btrbk.conf b/btrbk.conf index 55e3233..07479bd 100644 --- a/btrbk.conf +++ b/btrbk.conf @@ -23,7 +23,7 @@ RCLONEDIR="test:/mnt/bk/new/" KEEPLOCAL="10" #Suffix name for incremental/full backups and retention -#example: YYYY-mm-full and will keep the last two backups +#example: [YYYY-mm-"full"] and will keep the last two backups #For full Backups dont set retention below 1 or you will always delete your current backup which renders all following incremental backups useless FULL=("full" "2") INCR=("incr" "1") diff --git a/btrbk.service b/btrbk.service index 3d4054c..0a84c93 100644 --- a/btrbk.service +++ b/btrbk.service @@ -3,8 +3,6 @@ Description=runs backup for btrfs subvolumes Wants=btrfs.timer [Service] -Type=oneshot +Type=simple ExecStart=/usr/local/bin/btrbk --backup -[Install] -WantedBy=multi-user.target diff --git a/btrbk.timer b/btrbk.timer index aba1ccd..c72d4e2 100644 --- a/btrbk.timer +++ b/btrbk.timer @@ -1,6 +1,5 @@ [Unit] Description=Timer for btrbk.service -Requires=btrbk.service [Timer] Unit=btrbk.service