Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preflight Script Timeout moved to config file varible #472

Closed
childrss opened this issue Apr 20, 2016 · 3 comments
Closed

Preflight Script Timeout moved to config file varible #472

childrss opened this issue Apr 20, 2016 · 3 comments

Comments

@childrss
Copy link

Please move the preflight script timeout to a variable that can be configured in the main config file. It would be nice if this could be set "per script" but just being able to increase it outside of the main code (so updates don't nuke the change) would be good enough for now.

Thanks!

Line 275/276 in reportcommon

@bochoven
Copy link
Contributor

Adding a pref to //L/P/Munkireport.plist should be enough.

@ofirgalcon
Copy link
Contributor

Is this the correct syntax for config.php ?

$conf['scriptTimeOut'] = '30';

@bochoven
Copy link
Contributor

No, you should add that preference to the client:

defaults write /Library/Preferences/MunkiReport scriptTimeOut 30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants