Marc Haber wrote: > 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?
(Almost) all the initscript that are today in Debian are using this. For other distributions (and other Unix based OS) most of (all?) the initscripts are already different anyway. Regards, Laurent -- 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/20140511134739.5c6e1...@fornost.bigon.be