mirror of
https://github.com/troglobit/finit.git
synced 2026-10-31 13:00:32 +00:00
Track service start time using new jiffies() function
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
f6fa576270
commit
50f128cd1d
2 files changed
+6
-3
No files matched your search
@@ -90,6 +90,7 @@ typedef struct svc {
|
||||
|
||||
/* Service details */
|
||||
pid_t pid;
|
||||
long start_time; /* Start time, as seconds since boot, from sysinfo() */
|
||||
const svc_state_t state; /* Paused, Reloading, Restart, Running, ... */
|
||||
svc_type_t type; /* Service, run, task, inetd, ... */
|
||||
int protected; /* Services like dbus-daemon & udev by Finit */
|
||||
|
||||
Reference in new issue
Block a user