mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 13:05:00 +08:00
* grub-btrfs.path : improves unit #### Remember to modify your configuration accordingly. Allows the unit to start and stop automatically when the mount point is detected. If the mount point is already mounted when the unit is activated `systemctl enable grub-btrfs.path`, it will be necessary to start the unit for monitoring to begin `systemctl start grub-btrfs.path`. - `DefaultDependencies=no` Prevents systemd from automatically generating `Wants= or Requires= or After=`. - `Requires=\x2esnapshots.mount` Ensures unit is started if mount point exists. - `After=\x2esnapshots.mount` Unit start after the mounting point exists. - `BindsTo=\x2esnapshots.mount` If the mount point is removed, the unit will stop. - `PathModified=\x2esnapshots.mount` The monitored folder containing the snapshots. - `WantedBy=\x2esnapshots.mount` If the mount point exists, unit start automatically. (only if unit is activated before the mount point is mounted) * Readme: Update "Automatically update grub" section Update section following the recent change in the `grub-btrfs.path` unit. Add information to be able to update the `grub-btrfs` menu every time the system is restart/shutdown.
225 B
225 B