From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] sisyphus-mirror
Date: Wed, 10 Jun 2020 18:29:36 +0700
Message-ID: <2c34d066-69bf-6000-1287-14f347f15f5c@ya.ru> (raw)
In-Reply-To: <e0a38a3f-48ef-da5b-1c2f-858bdb0d0eb0@etersoft.ru>
10.06.2020 18:19, Pavel Vainerman пишет:
> 10.06.2020 14: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]
>>
>>
>> Это как-то можно побороть?
> Скорее всего это связано с systemd.
> Смотрите KillUserProcesses в /etc/systemd/logind.conf и на около эту тему
>
Есть такой пакет systemd-settings-disable-kill-user-processes
--
С уважением, Антон Мидюков <antohami@altlinux.org>
next prev parent reply other threads:[~2020-06-10 11:29 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-10 11:12 Denis G. Samsonenko
2020-06-10 11:19 ` Pavel Vainerman
2020-06-10 11:29 ` Антон Мидюков [this message]
2020-06-10 13:33 ` Павел Исопенко
2020-06-10 13:37 ` Pavel Vainerman
2020-06-10 16:52 ` Denis G. Samsonenko
2020-06-10 18:45 ` Vladimir D. Seleznev
2020-06-11 3:45 ` Denis G. Samsonenko
2020-06-11 12:41 ` [Comm] systemd-run Failed to create bus connection (Was: sisyphus-mirror) Vladimir D. Seleznev
2020-06-11 15:26 ` Denis G. Samsonenko
2020-06-10 11:19 ` [Comm] sisyphus-mirror Антон Мидюков
2020-06-10 11:21 ` Такасеев Алексей Геннадиевич
2020-06-10 11:39 ` Павел Исопенко
2020-06-10 12:16 ` Andrey Savchenko
2020-06-10 12:27 ` Vladimir D. Seleznev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2c34d066-69bf-6000-1287-14f347f15f5c@ya.ru \
--to=midyukov-anton@ya.ru \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git