Add documentation note about systemd configuration with alternate install methods (#428).

This commit is contained in:
Dan Helfman 2021-06-29 21:38:53 -07:00
parent 9b1779065e
commit 9c972cb0e5
1 changed files with 10 additions and 2 deletions

View File

@ -262,11 +262,19 @@ You can modify the cron file if you'd like to run borgmatic more or less frequen
### systemd
If you're using systemd instead of cron to run jobs, download the [sample
systemd service
If you're using systemd instead of cron to run jobs, you can still configure
borgmatic to run automatically.
(If you installed borgmatic from [Other ways to
install](https://torsion.org/borgmatic/docs/how-to/set-up-backups/#other-ways-to-install),
you may already have borgmatic systemd service and timer files. If so, you may
be able to skip some of the steps below.)
First, download the [sample systemd service
file](https://projects.torsion.org/witten/borgmatic/raw/branch/master/sample/systemd/borgmatic.service)
and the [sample systemd timer
file](https://projects.torsion.org/witten/borgmatic/raw/branch/master/sample/systemd/borgmatic.timer).
Then, from the directory where you downloaded them:
```bash