Set the time limit of the deamon.

This commit is contained in:
Michael 2016-11-27 23:58:26 +00:00
parent d96b827e32
commit 8d8faa8b7b
1 changed files with 3 additions and 0 deletions

View File

@ -87,6 +87,9 @@ file_put_contents($pidfile, $pid);
// Now running as a daemon.
while (true) {
// Just to be sure that this script really runs endlessly
set_time_limit(0);
// Call the poller
$cmdline = $php.' include/poller.php';