unit: optionally allow making cgroup attribute changes persistent

This commit is contained in:
Lennart Poettering
2013-01-19 01:02:30 +01:00
parent e884315e3d
commit 71645acac2
10 changed files with 217 additions and 33 deletions
+3 -1
View File
@@ -2388,13 +2388,15 @@ DEFINE_STRING_TABLE_LOOKUP(socket_result, SocketResult);
const UnitVTable socket_vtable = {
.object_size = sizeof(Socket),
.exec_context_offset = offsetof(Socket, exec_context),
.sections =
"Unit\0"
"Socket\0"
"Install\0",
.exec_context_offset = offsetof(Socket, exec_context),
.exec_section = "Socket",
.init = socket_init,
.done = socket_done,
.load = socket_load,