From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4F37F1381F3 for ; Fri, 23 Aug 2013 13:34:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FEADE0C12; Fri, 23 Aug 2013 13:34:19 +0000 (UTC) Received: from smtp9.mail.ru (smtp9.mail.ru [94.100.176.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7D498E0C0D for ; Fri, 23 Aug 2013 13:34:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail2; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=YdePWNFstm/0e3/nyWCwVmpFKfnZWZMQHNqjYy8/qOE=; b=Hncgkt6POQl9gexVRqDBiXiD+KXOqp9bKeIo9Eakdvr7JXBCCyT9U2Uc6PpJ5h42OXRB2pdYIinq2jxnmnnkbvVjGlLQ3IyeQ8o9xJUD00D90lYhTuDvAkBgtu2BDDO4LrsAtiasSsZVsGjsV/7RhWoxcZLD0g1sC64BBa+hYC4=; Received: from [46.149.55.245] (port=46754 helo=[10.88.10.66]) by smtp9.mail.ru with esmtpa (envelope-from ) id 1VCrVH-0002xX-Rc for gentoo-user-ru@lists.gentoo.org; Fri, 23 Aug 2013 17:34:16 +0400 Message-ID: <521764D6.2040804@mail.ru> Date: Fri, 23 Aug 2013 16:34:14 +0300 From: Sergey Kobzar User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130813 Thunderbird/17.0.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user-ru@lists.gentoo.org Reply-To: gentoo-user-ru@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user-ru@lists.gentoo.org Subject: Re: [gentoo-user-ru] Logrotate =?UTF-8?B?0L3QtSDQv9C+0YHRi9C70LDQtQ==?= =?UTF-8?B?0YIg0YHQuNCz0L3QsNC7INC/0YDQvtGG0LXRgdGB0YM=?= References: <52150750.8060707@mail.ru> <1377196459.11672.2.camel@i7> <521661A1.4030600@mail.ru> <5217176B.9080206@mail.ru> <1377251564.11672.4.camel@i7> In-Reply-To: <1377251564.11672.4.camel@i7> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam: Not detected X-Mras: Ok X-Archives-Salt: 05e75c7b-faaa-4b59-8155-a82d6c7606e7 X-Archives-Hash: 860f124e1dc711b13933715ed2c56c8d On 08/23/13 12:52, Peter Volkov wrote: > В Пт, 23/08/2013 в 11:03 +0300, Sergey Kobzar пишет: >> # la /tmp/logrotate-nginx >> ls: cannot access /tmp/logrotate-nginx: No such file or directory >> >> т.е. секция postrotate не выполнилась. > > Сделайте touch первой командой в списке. Сделал: postrotate touch /tmp/logrotate-nginx; test -r /run/nginx.pid && kill -USR1 `cat /run/nginx.pid` endscript Так вообще будут независимые команды. Завтра увидим результат...