Skip to content

Commit 0910efa

Browse files
Merge pull request #8644 from httpdev/fix-docs-automated-local-1.4
docs: fix udev rule priority in automated-local.rst
2 parents 4344e64 + 5634e49 commit 0910efa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/deployment/automated-local.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ All configuration goes into this directory.
3232
Find out the ID of the partition table of your backup disk (here assumed to be /dev/sdz):
3333
lsblk --fs -o +PTUUID /dev/sdz
3434

35-
Then, create ``/etc/backups/40-backup.rules`` with the following content (all on one line)::
35+
Then, create ``/etc/backups/80-backup.rules`` with the following content (all on one line)::
3636

3737
ACTION=="add", SUBSYSTEM=="block", ENV{ID_PART_TABLE_UUID}=="<the PTUUID you just noted>", TAG+="systemd", ENV{SYSTEMD_WANTS}="automatic-backup.service"
3838

@@ -164,7 +164,7 @@ The last part is to actually enable the udev rules and services:
164164

165165
.. code-block:: bash
166166
167-
ln -s /etc/backups/40-backup.rules /etc/udev/rules.d/40-backup.rules
167+
ln -s /etc/backups/80-backup.rules /etc/udev/rules.d/80-backup.rules
168168
ln -s /etc/backups/automatic-backup.service /etc/systemd/system/automatic-backup.service
169169
systemctl daemon-reload
170170
udevadm control --reload

0 commit comments

Comments
 (0)