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