summaryrefslogtreecommitdiff
path: root/service.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-01-29 04:42:57 +0100
committerLennart Poettering <lennart@poettering.net>2010-01-29 04:42:57 +0100
commit1e2e81336b2d7691d51a6f3e82df9ae20c22aee1 (patch)
treeeedbc1b5b0d24efcc6437f987efa4fbdf9b5a986 /service.h
parentc20cae324d93e7fcdb8618e37c3ac377d87edb97 (diff)
ratelimit start requests
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;