summary refs log tree commit diff
path: root/daemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon.h')
-rw-r--r--daemon.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/daemon.h b/daemon.h
index b8bcb9b..1ee3ea5 100644
--- a/daemon.h
+++ b/daemon.h
@@ -119,6 +119,7 @@ struct Service {
 	int errPipe[2];
 	struct Line outLine;
 	struct Line errLine;
+	struct timespec startTime;
 	struct timespec restartInterval;
 	struct timespec restartDeadline;
 };
@@ -156,3 +157,4 @@ static inline uint32_t setTest(const struct Set256 *set, byte x) {
 enum { StopExit = 127 };
 extern struct Set256 stopExits;
 extern struct timespec restartInterval;
+extern struct timespec resetInterval;