1
0
mirror of https://github.com/Yubico/yubikey-val.git synced 2025-02-01 19:52:20 +01:00
yubikey-val/ykval-queue

19 lines
465 B
Plaintext
Raw Normal View History

2010-01-11 16:16:54 +00:00
#!/usr/bin/php
<?php
2013-01-29 14:53:57 +01:00
set_include_path(get_include_path() . PATH_SEPARATOR . "/usr/share/yubikey-val:/etc/yubico/val");
2010-01-11 16:16:54 +00:00
require_once 'ykval-synclib.php';
require_once 'ykval-config.php';
require_once 'ykval-log.php';
2010-01-10 17:31:06 +00:00
$sl = new SyncLib('ykval-queue:synclib');
# Loop forever and resync
2013-01-29 14:53:57 +01:00
do {
2012-05-29 11:07:19 +02:00
$sl->reSync($baseParams['__YKVAL_SYNC_OLD_LIMIT__'],
$baseParams['__YKVAL_SYNC_RESYNC_TIMEOUT__']);
2013-01-29 14:53:57 +01:00
} while(sleep($baseParams['__YKVAL_SYNC_INTERVAL__'])==0);
2010-01-11 16:16:54 +00:00
?>