chiark / gitweb /
swap: don't add mount links for swap devices
[elogind.git] / service.h
index e603ff74b90b03d73a5520a5df1487e2a7f76dd9..40bd57e256a4a4ef0295a5c610fb276d4725a9a3 100644 (file)
--- a/service.h
+++ b/service.h
@@ -94,13 +94,14 @@ struct Service {
         bool root_directory_start_only;
         bool valid_no_process;
 
-        ServiceState state;
+        ServiceState state, deserialized_state;
 
         KillMode kill_mode;
 
         ExecStatus main_exec_status;
 
         ExecCommand *control_command;
+        ServiceExecCommand control_command_id;
         pid_t main_pid, control_pid;
         bool main_pid_known:1;
 
@@ -109,6 +110,10 @@ struct Service {
 
         bool bus_name_good:1;
 
+        bool allow_restart:1;
+
+        bool got_socket_fd:1;
+
         bool sysv_has_lsb:1;
         char *sysv_path;
         int sysv_start_priority;