From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ya.ru; s=mail; t=1591787972; bh=8A8lpue+0YT1vE46OHShVVcM1hRZ8xLbEcBODeGmbw4=; h=In-Reply-To:From:Date:References:To:Subject:Message-ID; b=kgEPOgja+wenDiLPIiqGA04rJF838NJw9tlAVlpZWd5T+U/Z3uynOLz9xgM1nEp9o k+UAgWchES2jgKvdFNEUj2zA29mickLIa4gzus85x0jyhfhB27Z86XMpdmpLMBbW1b aa9UIgta601mR6gjoeoIVpB1BC2W3uqAWJqquwS0= Authentication-Results: mxback23o.mail.yandex.net; dkim=pass header.i=@ya.ru To: community@lists.altlinux.org References: From: =?UTF-8?B?0JDQvdGC0L7QvSDQnNC40LTRjtC60L7Qsg==?= Message-ID: Date: Wed, 10 Jun 2020 18:19:31 +0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Content-Language: ru Subject: Re: [Comm] sisyphus-mirror X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2020 11:19:35 -0000 Archived-At: List-Archive: List-Post: 10.06.2020 18:12, Denis G. Samsonenko пишет: > Добрый день! > > Можно ли как-нибудь заставить sisyphus-mirror работать в фоне и не > завершаться при разлогине из ssh сессии? > > Как не пытаюсь запускать, всё равно завершается при выходе из ssh. Запускаю: > > # nohup sisyphus-mirror >/dev/null 2>/dev/null & > > Вылоговываюсь из под рута, выхожу из ssh. > > Захожу обратно и вижу в логах: > > rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at > rsync.c(642) [generator=3.1.3] > rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at > rsync.c(642) [receiver=3.1.3] > > > Это как-то можно побороть? > Можно запускать из-под screen или cron'ом. -- С уважением, Антон Мидюков