mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
Merge pull request #8643 from httpdev/fix-docs-automated-local-sytemd-wants-1.4
docs: modify docs for automated backup to append to SYSTEMD_WANTS
This commit is contained in:
commit
839434891c
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ Find out the ID of the partition table of your backup disk (here assumed to be /
|
|||
|
||||
Then, create ``/etc/backups/80-backup.rules`` with the following content (all on one line)::
|
||||
|
||||
ACTION=="add", SUBSYSTEM=="block", ENV{ID_PART_TABLE_UUID}=="<the PTUUID you just noted>", TAG+="systemd", ENV{SYSTEMD_WANTS}="automatic-backup.service"
|
||||
ACTION=="add", SUBSYSTEM=="block", ENV{ID_PART_TABLE_UUID}=="<the PTUUID you just noted>", TAG+="systemd", ENV{SYSTEMD_WANTS}+="automatic-backup.service"
|
||||
|
||||
The "systemd" tag in conjunction with the SYSTEMD_WANTS environment variable has systemd
|
||||
launch the "automatic-backup" service, which we will create next, as the
|
||||
|
|
|
|||
Loading…
Reference in a new issue