Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
grub-btrfs.path : improves unit
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=/.snapshots
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 "Automatically update grub" section following the recent change in the
grub-btrfs.path
unit.Fix: #138