ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@altlinux.org>
To: sysadmins@lists.altlinux.org
Subject: Re: [Sysadmins] anydesk
Date: Wed, 30 Dec 2020 15:31:50 +0300
Message-ID: <20201230123150.GH9478@imap.altlinux.org> (raw)
In-Reply-To: <aa941263-9e92-f789-b997-d3aa2a8ecff9@yandex.ru>

On Tue, Dec 29, 2020 at 02:11:59PM +0300, Vladimir Karpinsky wrote:
> Я не знаю, как работает start-stop-daemon: м.б. он как-то эту
> проблему решает? Хотя я пробовал переписать скрипт из этого
> пакета по образу и подобию имеющихся, но получил всё то же самое.

У него есть ман, в котором описана опция -u. :)

Но мне кажется, что лучше глянуть /etc/init.d/template
и почитать в /etc/init.d/functions функцию start_daemon()
на предмет --user|--set-user.

Такое делается для многих выполняющихся с понижением
привилегий пакетов (например, fetchmail) и как вариант --
такой инитскрипт можно упаковать в какой anydesk-preinstall.

-- 
 ---- WBR, Michael Shigorin / http://altlinux.org
  ------ http://opennet.ru / http://anna-news.info


  reply	other threads:[~2020-12-30 12:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 17:06 Vladimir Karpinsky
2020-12-28 22:53 ` Konstantin Lepikhov
2020-12-29  7:00   ` Vladimir Karpinsky
2020-12-29 10:29     ` Konstantin Lepikhov
2020-12-29 11:11       ` Vladimir Karpinsky
2020-12-30 12:31         ` Michael Shigorin [this message]
2020-12-30 13:25           ` Vladimir Karpinsky
2020-12-30 13:27             ` Michael Shigorin
2020-12-30 14:45               ` Vladimir Karpinsky
2020-12-30 17:01                 ` Michael Shigorin
2020-12-30 17:42                   ` Vladimir Karpinsky

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=20201230123150.GH9478@imap.altlinux.org \
    --to=mike@altlinux.org \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git