Re: Squid novo cai toda hora
:cry:
Código :
[root@nitron squid]# squid -k logrotate
Usage: squid [-dhsvzCDFNRVYX] [-f config-file] [-[au] port] [-k signal]
-a port Specify HTTP port number (default: 3128).
-d level Write debugging to stderr also.
-f file Use given config-file instead of
/etc/squid/squid.conf
-h Print help message.
-k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse
Parse configuration file, then send signal to
running copy (except -k parse) and exit.
-s Enable logging to syslog.
-u port Specify ICP port number (default: 3130), disable with 0.
-v Print version.
-z Create swap directories
-C Do not catch fatal signals.
-D Disable initial DNS tests.
-F Don't serve any requests until store is rebuilt.
-N No daemon mode.
-R Do not set REUSEADDR on port.
-S Double-check swap during rebuild.
-V Virtual host httpd-accelerator.
-X Force full debugging.
-Y Only return UDP_HIT or UDP_MISS_NOFETCH during fast reload.
Re: Squid novo cai toda hora
Cara... tu leu ao menos a saída do comando antes de mandar isso? Por favor né?
Citação:
-k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse
Utiliza rotate ao invés de logrotate...
Re: Squid novo cai toda hora
o ideal mesmo seria usar o logrotate do linux, q é executado todos os dias e tem algumas opções bem interessantes, como comprimir o arquivo depois do rotate...
Re: Squid novo cai toda hora
Citação:
Postado originalmente por Stéfano
Cara... tu leu ao menos a saída do comando antes de mandar isso? Por favor né?
Citação:
-k reconfigure|rotate|shutdown|interrupt|kill|debug|check|parse
Utiliza
rotate ao invés de
logrotate...
É isso mesmo Stéfano... me confundi no comando. :)