diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/squid3/34/squid.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc index c039b27f..4b8d596f 100755 --- a/config/squid3/34/squid.inc +++ b/config/squid3/34/squid.inc @@ -47,9 +47,13 @@ $pfs_version=substr(trim(file_get_contents("/etc/version")),0,3); if ($pfs_version == "2.1" || $pfs_version == "2.2") { define('SQUID_BASE', '/usr/pbi/squid-' . php_uname("m")); define('SQUID_LOCALBASE', SQUID_BASE . "/local"); + define('SQUID_UID', 'proxy'); + define('SQUID_GID', 'proxy'); } else { define('SQUID_BASE', '/usr/local'); define('SQUID_LOCALBASE', '/usr/local'); + define('SQUID_UID', 'squid'); + define('SQUID_GID', 'squid'); } define('SQUID_CONFBASE', SQUID_LOCALBASE .'/etc/squid'); |