summaryrefslogtreecommitdiff
path: root/service.h
diff options
context:
space:
mode:
Diffstat (limited to 'service.h')
-rw-r--r--service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/service.h b/service.h
index f9dbfea5e6..38b5438d4e 100644
--- a/service.h
+++ b/service.h
@@ -6,6 +6,7 @@
typedef struct Service Service;
#include "unit.h"
+#include "ratelimit.h"
typedef enum ServiceState {
SERVICE_DEAD,
@@ -71,6 +72,8 @@ struct Service {
bool failure:1; /* if we shut down, remember why */
Watch timer_watch;
+
+ RateLimit ratelimit;
};
const UnitVTable service_vtable;