core: optionally, trigger .timer units on timezone and clock changes

Fixes: #6228
This commit is contained in:
Lennart Poettering
2019-04-02 08:20:10 +02:00
parent 787be190a8
commit efebb613c7
7 changed files with 61 additions and 10 deletions
+2 -1
View File
@@ -1499,7 +1499,8 @@ static int bus_append_socket_property(sd_bus_message *m, const char *field, cons
static int bus_append_timer_property(sd_bus_message *m, const char *field, const char *eq) {
int r;
if (STR_IN_SET(field, "WakeSystem", "RemainAfterElapse", "Persistent"))
if (STR_IN_SET(field, "WakeSystem", "RemainAfterElapse", "Persistent",
"OnTimezoneChange", "OnClockChange"))
return bus_append_parse_boolean(m, field, eq);