]> git.ipfire.org Git - thirdparty/squid.git/commit
Enable -n command line option for non-Windows Squid builds
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 24 Jan 2014 01:57:15 +0000 (18:57 -0700)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 24 Jan 2014 01:57:15 +0000 (18:57 -0700)
commitcf2155f28a0333dc57adb63c537c3ea30cbf0344
tree2b442697aea36804a50fb3a414befab36e010b6f
parent97ef48f3ffeccd583a64860be615bc1ee0a804c2
Enable -n command line option for non-Windows Squid builds

This command line option is used on Windows to name the service instance
of Squid being run and/or managed. At this point it still only has
useful effect on Windows, but can now be used by components on other
systems as well.

Show the running instance service name in cacehmgr and -v output.

Also remove _WIN_SQUID_DEFAULT_SERVICE_NAME macro which duplicated the
APP_SHORTNAME macro. This changes the Windows service name from Squid to
squid (lower case) on future Squid-3 for Windows.
src/WinSvc.cc
src/defines.h
src/globals.h
src/main.cc
src/stat.cc