7 Startup File
Every Startup Option (see Startup Options) can be added to startup file using the `keyword' listed after it on that section (see Startup Options).
For instance, you can replace `-t 20' with the setting:
Then you can remove `-t 20' from the command line.
The syntax of startup file:
- The data is in the form of `keyword=value', start from the beginning of that line.
- Write `keyword=value' in a single line.
- All characters will be parsed except <LF>. Please do not add redundant whitespace or quotation mark, they will be read as part of `keyword=value' pair. But it is permitted to use whitespace or quotation mark in `value' if it is really needful:
user_agent=User-Agent: MSIE 6.0
- Comment line begin with `#'. Certainly, the line begins with string different from anyone of the startup keywords (see Startup Options) will be identified as comment line or ignored.
If you invoke proxyknife with a startup option (see Startup Options), the setting relation to it in startup file will be overridden.
By default, proxyknife will search the startup file in this order until one of them is found:
You can invoke proxyknife with `-f startup file' (see Startup Options) to override that:
proxyknife -f /tmp/mystartup.txt