aboutsummaryrefslogtreecommitdiffstats
path: root/user/backup-firefox.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-firefox.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-firefox.service')
-rw-r--r--user/backup-firefox.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/backup-firefox.service b/user/backup-firefox.service
new file mode 100644
index 0000000..ce68613
--- /dev/null
+++ b/user/backup-firefox.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Backup ~/.mozilla/firefox/<profile> directory
+ConditionFileIsExecutable=/usr/lib/systemd/scripts/backup-firefox
+ConditionKernelCommandLine=!systemd.setenv=REALTIME=true
+
+[Service]
+EnvironmentFile=/etc/backup-settings
+Nice=19
+IOSchedulingClass=2
+IOSchedulingPriority=7
+ExecStart=/usr/lib/systemd/scripts/backup-firefox
+