X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=service.h;h=0a258a3774d4bc3b161e362ac2feff8e3c82a3c1;hb=2f357920ffd58e7b56940c64ab8d14a83a27b9f1;hp=fef100bad96d27a9aa1a10752256e802e07d3dde;hpb=47be870bd83fb3719dffc3ee9348a409ab762a14;p=elogind.git diff --git a/service.h b/service.h index fef100bad..0a258a377 100644 --- 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,9 +100,14 @@ 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; + char *sysv_path; + int sysv_start_priority; + RateLimit ratelimit; };