aboutsummaryrefslogtreecommitdiffstats
path: root/user/backup-thunderbird.service
diff options
context:
space:
mode:
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
+