浏览代码

Documentation: Enable and start borgmatic with a single systemctl command.

Dan Helfman 5 年之前
父节点
当前提交
c52f82f9ce
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      docs/how-to/set-up-backups.md

+ 1 - 2
docs/how-to/set-up-backups.md

@@ -204,8 +204,7 @@ Then, from the directory where you downloaded them:
 
 
 ```bash
 ```bash
 sudo mv borgmatic.service borgmatic.timer /etc/systemd/system/
 sudo mv borgmatic.service borgmatic.timer /etc/systemd/system/
-sudo systemctl enable borgmatic.timer
-sudo systemctl start borgmatic.timer
+sudo systemctl enable --now borgmatic.timer
 ```
 ```
 
 
 Feel free to modify the timer file based on how frequently you'd like
 Feel free to modify the timer file based on how frequently you'd like