if (mode != UNIT_CHECK) {
dbus_bool_t b;
+
dbus_message_iter_get_basic(i, &b);
c->send_sighup = b;
+
+ unit_write_drop_in_format(u, mode, name, "[Scope]\nSendSIGHUP=%s\n", yes_no(b));
}
return 1;
if (mode != UNIT_CHECK) {
dbus_bool_t b;
+
dbus_message_iter_get_basic(i, &b);
c->send_sigkill = b;
+
+ unit_write_drop_in_format(u, mode, name, "[Scope]\nSendSIGKILL4=%s\n", yes_no(b));
}
return 1;
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;
CGROUP_CONTEXT_CONFIG_ITEMS(Slice)m4_dnl
m4_dnl
CGROUP_CONTEXT_CONFIG_ITEMS(Scope)m4_dnl
+KILL_CONTEXT_CONFIG_ITEMS(Scope)m4_dnl
+Scope.TimeoutStopSec, config_parse_sec, 0, offsetof(Scope, timeout_stop_usec)
m4_dnl The [Install] section is ignored here.
Install.Alias, NULL, 0, 0
Install.WantedBy, NULL, 0, 0