X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=service.h;h=5ffdde19cb4c014975e8e9f42437af1ec6adc247;hb=dbd4655d8937fb870a6ec42889081ecd4b83ca98;hp=c8e41ba26441fa37c4a005eff95f4f1c4d8ba9f5;hpb=a7334b0952ab66c17ee787e36e6d2c5ceb387de6;p=elogind.git diff --git a/service.h b/service.h index c8e41ba26..5ffdde19c 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; @@ -99,10 +103,13 @@ struct Service { bool failure:1; /* if we shut down, remember why */ Watch timer_watch; + char *sysv_path; + int sysv_start_priority; + RateLimit ratelimit; }; -const UnitVTable service_vtable; +extern const UnitVTable service_vtable; const char* service_state_to_string(ServiceState i); ServiceState service_state_from_string(const char *s);