This is to use clock_gettime() instead of gettimeofday() for start-stop-daemon. Because time-of-day can change while doing stop daemon, the timeout can happen prematurally. | |
In order for it to be able to compile with older kernel, manually link to -lrt if necessary. |