diff options
Diffstat (limited to '')
-rw-r--r-- | dot_config/systemd/user/backup-email@.service (renamed from dot_config/systemd/user/backup-email.service) | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/dot_config/systemd/user/backup-email.service b/dot_config/systemd/user/backup-email@.service index 47260f1..4f9e176 100644 --- a/dot_config/systemd/user/backup-email.service +++ b/dot_config/systemd/user/backup-email@.service @@ -3,11 +3,7 @@ Description=backup dovecot Wants=network-online.target BindsTo=dovecot.service After=network-online.target -ConditionFileNotEmpty=/media/t/Archives/email/rak.ac/backup.sh -Before=borgmatic@tosh.service - -[Install] -WantedBy=borgmatic@tosh.service +ConditionFileNotEmpty=/media/t/Archives/email/%I/backup.sh [Service] Type=oneshot @@ -35,4 +31,4 @@ IOWeight=100 Restart=no LogRateLimitIntervalSec=0 -ExecStart=/media/t/Archives/email/rak.ac/backup.sh +ExecStart=/media/t/Archives/email/%I/backup.sh |