浏览代码

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

Dan Helfman 6 年之前
父节点
当前提交
67f2862fb1
共有 3 个文件被更改,包括 3 次插入3 次删除
  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.
 
-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.
 
-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]
 Type=oneshot
-ExecStart=/usr/local/bin/borgmatic
+ExecStart=/root/.local/bin/borgmatic