Added path systemd unit to trigger update notification
This commit is contained in:
11
files/systemd/user/bootc-status-updated.path
Normal file
11
files/systemd/user/bootc-status-updated.path
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Monitor bootc for status changes
|
||||
Documentation=man:bootc-status-updated.path(5)
|
||||
ConditionPathExists=/run/ostree-booted
|
||||
|
||||
[Path]
|
||||
PathChanged=/ostree/bootc
|
||||
Unit=bootc-status-updated.target
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
5
files/systemd/user/bootc-status-updated.target
Normal file
5
files/systemd/user/bootc-status-updated.target
Normal file
@@ -0,0 +1,5 @@
|
||||
[Unit]
|
||||
Description=Target for bootc status changes
|
||||
Documentation=man:bootc-status-updated.target(5)
|
||||
StopWhenUnneeded=true
|
||||
ConditionPathExists=/run/ostree-booted
|
@@ -21,6 +21,7 @@ modules:
|
||||
- unlock-kwallet.service
|
||||
- notify-update.service
|
||||
- swww.service
|
||||
- bootc-status-updated.path
|
||||
|
||||
- type: dnf
|
||||
install:
|
||||
|
Reference in New Issue
Block a user