aboutsummaryrefslogtreecommitdiffstats
path: root/system/backup-mail.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-20 01:02:04 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-20 01:02:04 +0100
commitc10efa7645f9f135b0a8513eeb69cb9d162d1728 (patch)
tree2d8768103e4cfbb84512e78570fd60fa5d689a53 /system/backup-mail.service
parenta7b06bdff0d67ad640074e3760dcc5b667b64663 (diff)
downloadcrypted-backups-c10efa7645f9f135b0a8513eeb69cb9d162d1728.tar.gz
crypted-backups-c10efa7645f9f135b0a8513eeb69cb9d162d1728.tar.bz2
crypted-backups-c10efa7645f9f135b0a8513eeb69cb9d162d1728.tar.xz
crypted-backups-c10efa7645f9f135b0a8513eeb69cb9d162d1728.zip
backup-mail: Adding first version of backup-mail script, service and timer.
Diffstat (limited to 'system/backup-mail.service')
-rw-r--r--system/backup-mail.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/backup-mail.service b/system/backup-mail.service
new file mode 100644
index 0000000..b211205
--- /dev/null
+++ b/system/backup-mail.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Backup mail accounts and mailman mailing lists
+ConditionFileIsExecutable=/usr/lib/systemd/scripts/backup-mail
+
+[Service]
+EnvironmentFile=/etc/backup-settings
+Nice=19
+IOSchedulingClass=2
+IOSchedulingPriority=7
+ExecStart=/usr/lib/systemd/scripts/backup-mail
+