mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 13:23:04 +01:00
Fix the eula stuff
This commit is contained in:
@@ -39,6 +39,6 @@ class AcceptEULACommand extends Command
|
||||
public function handle()
|
||||
{
|
||||
$this->info('Acceping EULA');
|
||||
shell_exec(config('speedtest.home') . ' && timeout 3s ' . app_path() . '/Bin/speedtest --accept-license --accept-gdpr');
|
||||
shell_exec(config('speedtest.home') . ' && timeout 10s ' . app_path() . '/Bin/speedtest --accept-license --accept-gdpr');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ return [
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'home' => 'HOME=' . base_path() . DIRECTORY_SEPARATOR,
|
||||
'home' => 'HOME=/config',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
||||
@@ -26,10 +26,10 @@ else
|
||||
tar zxvf speedtest.tgz > /dev/null
|
||||
cp speedtest /site/app/Bin/
|
||||
|
||||
HOME=/config && timeout 10s s6-setuidgid abc /site/artisan speedtest:eula > /dev/null
|
||||
HOME=/config && s6-setuidgid abc /site/artisan speedtest:eula > /dev/null
|
||||
HOME=/root
|
||||
else
|
||||
HOME=/config && timeout 10s s6-setuidgid abc /config/www/artisan speedtest:eula > /dev/null
|
||||
HOME=/config && s6-setuidgid abc /config/www/artisan speedtest:eula > /dev/null
|
||||
HOME=/root
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user