chiark / gitweb /
unit: split off KillContext from ExecContext containing only kill definitions
[elogind.git] / src / core / service.h
index 5ad09d0acc9304b453e329be1e792db5a33fbe48..cc63347c76adbb032eb509880179ef154a31eb66 100644 (file)
@@ -27,6 +27,7 @@ typedef struct Service Service;
 #include "path.h"
 #include "ratelimit.h"
 #include "service.h"
+#include "kill.h"
 
 typedef enum ServiceState {
         SERVICE_DEAD,
@@ -126,7 +127,9 @@ struct Service {
         Watch watchdog_watch;
 
         ExecCommand* exec_command[_SERVICE_EXEC_COMMAND_MAX];
+
         ExecContext exec_context;
+        KillContext kill_context;
 
         ServiceState state, deserialized_state;