From c3df8d3dde5a032b382b3f59c016c1d0b7741ae8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 30 Jul 2013 02:50:44 +0200 Subject: core: make sure scope attributes survive a reload --- src/core/dbus-scope.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/dbus-scope.c') diff --git a/src/core/dbus-scope.c b/src/core/dbus-scope.c index 497e4520d1..783a969fb3 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; -- cgit v1.2.3-54-g00ecf