summaryrefslogtreecommitdiff
path: root/src/machine/machine.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-04-28 21:17:35 +0200
committerLennart Poettering <lennart@poettering.net>2015-04-28 21:34:23 +0200
commit9b420b3cfb8b93daf50e4cdbc92b05f2209ef893 (patch)
tree0077cd838eeb972c8c33071a85c17e49c02d2eb2 /src/machine/machine.h
parentfe506d569d82467f31862c2ed82ef35f88854149 (diff)
machined: make sure to track machine unit states properly
If a unit is stopped for a moment, we need to invalidate our knowledge of it, otherwise we might be confused by automatic restarts This makes reboots for nspawn containers run as service work correctly. https://bugs.freedesktop.org/show_bug.cgi?id=87428
Diffstat (limited to 'src/machine/machine.h')
-rw-r--r--src/machine/machine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/machine/machine.h b/src/machine/machine.h
index 7b27aa27e0..bbe5217f65 100644
--- a/src/machine/machine.h
+++ b/src/machine/machine.h
@@ -105,6 +105,8 @@ int machine_save(Machine *m);
int machine_load(Machine *m);
int machine_kill(Machine *m, KillWho who, int signo);
+void machine_release_unit(Machine *m);
+
MachineState machine_get_state(Machine *u);
MachineOperation *machine_operation_unref(MachineOperation *o);