X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;ds=sidebyside;f=service.h;h=0c0850a81fdb9b51c6df8ecf6a2cfc491a6de910;hb=e14140036227901bd64833559bab70c111c651a5;hp=c8e41ba26441fa37c4a005eff95f4f1c4d8ba9f5;hpb=a7334b0952ab66c17ee787e36e6d2c5ceb387de6;p=elogind.git diff --git a/service.h b/service.h index c8e41ba26..0c0850a81 100644 --- a/service.h +++ b/service.h @@ -99,10 +99,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);