Search squid archive

Re: change action of squid -v on squid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/03/2017 02:00 AM, --Ahmad-- wrote:

> if i do squid -v it shoes squid version
> how about if i want to disable that thing and don’t show the compile options ?

For that, you need to

* either modify Squid source code (the details are outside of the
squid-users discussion scope but you may be able to get help on squid-dev)

* or wrap Squid executable into your own wrapper script/program (a
simple sysadmin action not specific to Squid).

FWIW, it is usually pointless to hide squid-v info. Consider double
checking your requirements.


> how about if i put other message to be shown ?

Use --enable-build-info option with Squid ./configure script:


>   --enable-build-info="build info string"
>                           Add an additional string in the output of "squid
>                           -v". Default is not to add anything. If the string
>                           is not specified, tries to determine nick and
>                           revision number of the current bazaar branch

FWIW, using --enable-build-info is the right way to add custom
information to squid-v output.


HTH,

Alex.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux