fix(#2050): use single matrix-token* glob for avatar-sync path trigger
This commit is contained in:
parent
c29dfed9f4
commit
63e9e80232
1 changed files with 6 additions and 4 deletions
|
|
@ -1650,10 +1650,12 @@ in
|
|||
systemd.paths.matrix-avatar-sync = {
|
||||
description = "trigger matrix-avatar-sync when a matrix token appears";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
pathConfig.PathExistsGlob = [
|
||||
"/agents/*/state/matrix-token"
|
||||
"/agents/*/state/matrix-token-*"
|
||||
];
|
||||
# Single `matrix-token*` glob (same as hive-matrix-daemon above) so
|
||||
# both the hive-internal `matrix-token` and any dashboard-provisioned
|
||||
# `matrix-token-<name>` re-fire the sync. A list value here is
|
||||
# unverified for `systemd.paths.*.pathConfig`, and the wildcard
|
||||
# covers both cases anyway.
|
||||
pathConfig.PathExistsGlob = "/agents/*/state/matrix-token*";
|
||||
};
|
||||
|
||||
# One-shot: hyperhive.icon → matrix profile avatar (two-step media
|
||||
|
|
|
|||
Loading…
Reference in a new issue