mirror of
https://github.com/webmin/webmin.git
synced 2025-07-21 23:40:34 +00:00
PID file may be in a different location on SuSE 15.4 https://sourceforge.net/p/webadmin/bugs/5586/
This commit is contained in:
@ -2,7 +2,7 @@ log_dir=/var/log/squid
|
||||
squid_path=squid
|
||||
cache_dir=/var/cache/squid
|
||||
squid_conf=/etc/squid/squid.conf
|
||||
pid_file=/var/run/squid.pid
|
||||
pid_file=/var/run/squid.pid /run/squid/squid.pid
|
||||
cachemgr_path=/usr/share/doc/packages/squid/scripts/cachemgr.cgi
|
||||
calamaris=calamaris
|
||||
cal_max=50000
|
||||
|
@ -354,7 +354,7 @@ my $pidstruct = &find_config("pid_filename", $conf);
|
||||
push(@pidfiles, $pidstruct->{'values'}->[0]) if ($pidstruct);
|
||||
my $def_pidstruct = &find_config("pid_filename", $conf);
|
||||
push(@pidfiles, $def_pidstruct->{'values'}->[0]) if ($def_pidstruct);
|
||||
push(@pidfiles, $config{'pid_file'}) if ($config{'pid_file'});
|
||||
push(@pidfiles, split(/\s+/, $config{'pid_file'})) if ($config{'pid_file'});
|
||||
@pidfiles = grep { $_ ne "none" } @pidfiles;
|
||||
|
||||
# Try check one
|
||||
|
Reference in New Issue
Block a user