chiark / gitweb /
main: implement --test
[elogind.git] / service.h
index 0c0850a81fdb9b51c6df8ecf6a2cfc491a6de910..0a258a3774d4bc3b161e362ac2feff8e3c82a3c1 100644 (file)
--- a/service.h
+++ b/service.h
@@ -88,6 +88,10 @@ struct Service {
         ExecCommand* exec_command[_SERVICE_EXEC_MAX];
         ExecContext exec_context;
 
+        bool permissions_start_only;
+        bool root_directory_start_only;
+        bool valid_no_process;
+
         ServiceState state;
 
         ExecStatus main_exec_status;
@@ -96,6 +100,8 @@ struct Service {
         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;