Am Sonntag, 11. Mai 2014, 12:53:39 schrieb Marc Haber:
> On Sun, 11 May 2014 10:04:15 +0200, Cyril Brulebois <k...@debian.org>
> 
> wrote:
> >Marc Haber <mh+debian-de...@zugschlus.de> (2014-05-11):
> >> Just curious as the maintainer of another package using su in an init
> >> script since 2001, how am I supposed to start a non-root process from
> >> an init script?
> >
> >start-stop-daemon has:
> >       -c, --chuid username|uid[:group|gid]
> 
> Will a script doing this be portable to other Linuxes or even BSD
> Unices?

Good question and I think the answer is a no.

So… instead of changing the script it may be better to provide a systemd unit 
file for dirmngr, then the script can remain as it is.

-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/2533469.hbZhCQRriv@merkaba

Reply via email to