chiark / gitweb /
service: when reading pid file make sure to watch the pid read
[elogind.git] / service.h
index 632e5eae4d51b708f3d532a4aa10f6a8aa5afa3c..fa81e98a74f5f40f84eec52db964ac315b22092f 100644 (file)
--- a/service.h
+++ b/service.h
@@ -90,20 +90,26 @@ struct Service {
 
         bool permissions_start_only;
         bool root_directory_start_only;
+        bool valid_no_process;
 
         ServiceState state;
 
+        KillMode kill_mode;
+
         ExecStatus main_exec_status;
 
         ExecCommand *control_command;
         pid_t main_pid, control_pid;
         bool main_pid_known:1;
 
+        bool sysv_has_lsb:1;
+
         bool failure:1; /* if we shut down, remember why */
         Watch timer_watch;
 
         char *sysv_path;
         int sysv_start_priority;
+        char *sysv_runlevels;
 
         RateLimit ratelimit;
 };