aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-26 03:19:08 +0100
committerDavid Runge <dave@sleepmap.de>2015-03-26 03:19:08 +0100
commit580f04dfc2c0ec402974fc3056fe643c778cbde6 (patch)
treef3c2cbfbb7a8487ff514f1603592e02218dbd881
parentdb890743cb99dfc83e756b0def969494999d3b46 (diff)
downloadcrypted-backups-580f04dfc2c0ec402974fc3056fe643c778cbde6.tar.gz
crypted-backups-580f04dfc2c0ec402974fc3056fe643c778cbde6.tar.bz2
crypted-backups-580f04dfc2c0ec402974fc3056fe643c778cbde6.tar.xz
crypted-backups-580f04dfc2c0ec402974fc3056fe643c778cbde6.zip
user/backup-{firefox,thunderbird}.service: Adding second position for a user configuration. Making both non-mandatory.
-rw-r--r--user/backup-firefox.service3
-rw-r--r--user/backup-thunderbird.service3
2 files changed, 4 insertions, 2 deletions
diff --git a/user/backup-firefox.service b/user/backup-firefox.service
index b4942c8..81ab285 100644
--- a/user/backup-firefox.service
+++ b/user/backup-firefox.service
@@ -4,7 +4,8 @@ ConditionFileIsExecutable=/usr/lib/systemd/scripts/backup-firefox
ConditionKernelCommandLine=!systemd.setenv=REALTIME=true
[Service]
-EnvironmentFile=/home/%u/.config/crypted-backups
+EnvironmentFile=-/home/%u/.crypted-backups
+EnvironmentFile=-/home/%u/.config/crypted-backups
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7
diff --git a/user/backup-thunderbird.service b/user/backup-thunderbird.service
index 7a0c21c..725b9b1 100644
--- a/user/backup-thunderbird.service
+++ b/user/backup-thunderbird.service
@@ -4,7 +4,8 @@ ConditionFileIsExecutable=/usr/lib/systemd/scripts/backup-thunderbird
ConditionKernelCommandLine=!systemd.setenv=REALTIME=true
[Service]
-EnvironmentFile=/home/%u/.config/crypted-backups
+EnvironmentFile=-/home/%u/.crypted-backups
+EnvironmentFile=-/home/%u/.config/crypted-backups
Nice=19
IOSchedulingClass=2
IOSchedulingPriority=7