aboutsummaryrefslogtreecommitdiff
path: root/dot_config/systemd/user/backup-email.service
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2023-06-24 10:33:47 -0400
committerRyan Kavanagh <rak@rak.ac>2023-06-24 10:33:47 -0400
commitddcf62b165efaf600cc471dd5cbb699aced862e9 (patch)
tree184d38abb213c63150cdad35fcd32093c3d36505 /dot_config/systemd/user/backup-email.service
parentbackup .aldorc (diff)
update systemd timers etc
Diffstat (limited to 'dot_config/systemd/user/backup-email.service')
-rw-r--r--dot_config/systemd/user/backup-email.service38
1 files changed, 0 insertions, 38 deletions
diff --git a/dot_config/systemd/user/backup-email.service b/dot_config/systemd/user/backup-email.service
deleted file mode 100644
index 47260f1..0000000
--- a/dot_config/systemd/user/backup-email.service
+++ /dev/null
@@ -1,38 +0,0 @@
-[Unit]
-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
-
-[Service]
-Type=oneshot
-LockPersonality=true
-MemoryDenyWriteExecute=no
-NoNewPrivileges=yes
-PrivateTmp=yes
-ProtectControlGroups=yes
-ProtectHostname=yes
-RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 AF_NETLINK
-RestrictNamespaces=yes
-RestrictRealtime=yes
-RestrictSUIDSGID=yes
-SystemCallArchitectures=native
-SystemCallFilter=@system-service
-SystemCallErrorNumber=EPERM
-ProtectSystem=full
-
-Nice=19
-CPUSchedulingPolicy=batch
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
-IOWeight=100
-
-Restart=no
-LogRateLimitIntervalSec=0
-
-ExecStart=/media/t/Archives/email/rak.ac/backup.sh