aboutsummaryrefslogtreecommitdiffstats
path: root/user/backup-thunderbird.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-19 02:19:20 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-19 02:19:20 +0100
commit78d8d16814f3faa1ff6d5c87a1d215907b991069 (patch)
tree01c3d01af43e6206a7403e4c0ae261b910dd8cc7 /user/backup-thunderbird.service
parent72b72e691e2ba10393239b727f37fd0bd3c15341 (diff)
downloadcrypted-backups-78d8d16814f3faa1ff6d5c87a1d215907b991069.tar.gz
crypted-backups-78d8d16814f3faa1ff6d5c87a1d215907b991069.tar.bz2
crypted-backups-78d8d16814f3faa1ff6d5c87a1d215907b991069.tar.xz
crypted-backups-78d8d16814f3faa1ff6d5c87a1d215907b991069.zip
user/backup-*: Adding the first version of Firefox and Thunderbird backup services/timerse.
Diffstat (limited to 'user/backup-thunderbird.service')
-rw-r--r--user/backup-thunderbird.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/backup-thunderbird.service b/user/backup-thunderbird.service
new file mode 100644
index 0000000..a954f18
--- /dev/null
+++ b/user/backup-thunderbird.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Backup ~/.thunderbird/<profile> directory
+ConditionFileIsExecutable=/usr/lib/systemd/scripts/backup-thunderbird
+ConditionKernelCommandLine=!systemd.setenv=REALTIME=true
+
+[Service]
+EnvironmentFile=/etc/backup-settings
+Nice=19
+IOSchedulingClass=2
+IOSchedulingPriority=7
+ExecStart=/usr/lib/systemd/scripts/backup-thunderbird
+