Browse Source

Change paths to reflect new pip install --user documentation.

Dan Helfman 6 years ago
parent
commit
67f2862fb1
3 changed files with 3 additions and 3 deletions
  1. 1 1
      sample/cron-alpine/borgmatic
  2. 1 1
      sample/cron/borgmatic
  3. 1 1
      sample/systemd/borgmatic.service

+ 1 - 1
sample/cron-alpine/borgmatic

@@ -1,3 +1,3 @@
 # You can drop this file into /etc/cron.d/ to run borgmatic nightly.
 # You can drop this file into /etc/cron.d/ to run borgmatic nightly.
 
 
-0 3 * * * PATH=$PATH:/usr/bin /usr/bin/borgmatic
+0 3 * * * PATH=$PATH:/usr/bin /root/.local/bin/borgmatic

+ 1 - 1
sample/cron/borgmatic

@@ -1,3 +1,3 @@
 # You can drop this file into /etc/cron.d/ to run borgmatic nightly.
 # You can drop this file into /etc/cron.d/ to run borgmatic nightly.
 
 
-0 3 * * * root PATH=$PATH:/usr/local/bin /usr/local/bin/borgmatic
+0 3 * * * root PATH=$PATH:/usr/local/bin /root/.local/bin/borgmatic

+ 1 - 1
sample/systemd/borgmatic.service

@@ -3,4 +3,4 @@ Description=borgmatic backup
 
 
 [Service]
 [Service]
 Type=oneshot
 Type=oneshot
-ExecStart=/usr/local/bin/borgmatic
+ExecStart=/root/.local/bin/borgmatic