From de9d46acf0e05ca1bb2dcdb390812f69386fef13 Mon Sep 17 00:00:00 2001 From: jan Date: Sun, 19 Jan 2025 14:41:52 +0100 Subject: [PATCH] docs: modify docs for automated backup to append to SYSTEMD_WANTS rather than overwrite fixes #8641 In the example, setting SYSTEMD_WANTS instead of appending may prevent other autostart services attached by earlier udev rules from launching. This commit changes = to += to fix this behavior. --- docs/deployment/automated-local.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deployment/automated-local.rst b/docs/deployment/automated-local.rst index c85549a301..38febbed0b 100644 --- a/docs/deployment/automated-local.rst +++ b/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}=="", TAG+="systemd", ENV{SYSTEMD_WANTS}="automatic-backup.service" + ACTION=="add", SUBSYSTEM=="block", ENV{ID_PART_TABLE_UUID}=="", 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