소스 검색

Merge pull request #8642 from httpdev/fix-docs-automated-local-sytemd-wants

docs: modify docs for automated backup to append to SYSTEMD_WANTS
TW 4 달 전
부모
커밋
8817b0f832
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/deployment/automated-local.rst

+ 1 - 1
docs/deployment/automated-local.rst

@@ -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