summaryrefslogtreecommitdiff
path: root/src/core/dbus-scope.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2013-07-30 02:50:44 +0200
committerLennart Poettering <lennart@poettering.net>2013-07-30 02:54:56 +0200
commitc3df8d3dde5a032b382b3f59c016c1d0b7741ae8 (patch)
treefbffc7094f2ae2ab8e8a47250e47e34f3143a1f8 /src/core/dbus-scope.c
parenta6c0353b9268d5b780fb7ff05a10cb5031446e5d (diff)
core: make sure scope attributes survive a reload
Diffstat (limited to 'src/core/dbus-scope.c')
-rw-r--r--src/core/dbus-scope.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c
index 497e4520d..783a969fb 100644
--- a/src/core/dbus-scope.c
+++ b/src/core/dbus-scope.c
@@ -138,6 +138,8 @@ static int bus_scope_set_transient_property(
dbus_message_iter_get_basic(i, &t);
s->timeout_stop_usec = t;
+
+ unit_write_drop_in_format(UNIT(s), mode, name, "[Scope]\nTimeoutStopSec=%lluus\n", (unsigned long long) t);
}
return 1;