From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CB669139085 for ; Thu, 22 Dec 2016 06:05:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA0272241E7; Thu, 22 Dec 2016 06:05:48 +0000 (UTC) Received: from mail-wj0-x235.google.com (mail-wj0-x235.google.com [IPv6:2a00:1450:400c:c01::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 315D621C07D for ; Thu, 22 Dec 2016 06:05:48 +0000 (UTC) Received: by mail-wj0-x235.google.com with SMTP id ez4so1745194wjd.0 for ; Wed, 21 Dec 2016 22:05:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Yo4jVR0oJO4myBHPzkPpNnTXFvaQIWTA+Cg6sBQVMSg=; b=hTqa3dTyCYB/fEyd3PFuPCKnGh+1PPOiwSoIIabCCkpngXU4ymxwl8ojXbCc8Pvrg2 N8uIx8ACT4XzUv7qabH/iFJXjj94WYvd52yICqc5megAndgblRy+lE19bPpRLZyiYp73 4fVsmUeWj1Dzl/7L97pfmRnpbNsFIA9eIczP4OrQ/4UoB2qZT9ZIc6IT1AJdMMIvZiMx 0yKAtR/Ql+O2pcNbOcF2bdQ18e7ubsSxclRQkObSvHvsOE+pcP/VqwCIoC/Stkx/am1L 6mn0N0hs8AXVbKuTckGk5TJeYHpVfhjIwd9vfVxbkDl1t1A8sdS8NTfIo5qFEno8jB6B bG3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Yo4jVR0oJO4myBHPzkPpNnTXFvaQIWTA+Cg6sBQVMSg=; b=kph84vFviWpI2//6pY+68C75MZJJo8DNwSIBHw9qQa8tF8+2g70q3xBiY+9eQqwPVe I68kmRRgvogv+gjFimyjbJwt+kyUMbmYP5PPjEHcd3/DY0wccuUeZqo6ozPPMCBfJvVi Sr31p++7c0bx4vaaDbQymwQ5jK8/ZkUpv5Bq6BehIn40zp4KAo75mqNNMUL1pkmZbwt0 VOAKiNOSD3m+yZvRbMbpse4cQBSUciy+OIrdagSUxMGy42QEyoDVtR0znOyWUvp5cSIn EshgXAOCbYnm/LH0bZXgVIFUQWjsefm2GuSceEmk+bSLNpm1bmRSyZ7iOPL5aQWMmoPS Jjog== X-Gm-Message-State: AIkVDXKcSybYyiGy7c+LqIheGis+0U0vgS/Yp7/+19+VMnlPXVtikGSGQgTxxoi2BbwhkPVqu/t4I6PGQQuUaA== X-Received: by 10.194.126.38 with SMTP id mv6mr7299833wjb.142.1482386746584; Wed, 21 Dec 2016 22:05:46 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.28.14.73 with HTTP; Wed, 21 Dec 2016 22:05:45 -0800 (PST) In-Reply-To: <1539590.2abgqJ6fBz@thetick> References: <20161015182743.GB4541@solfire> <31e5a0f5-ffc3-0b6f-3bb4-1685d1efe876@andrejro.de> <1539590.2abgqJ6fBz@thetick> From: Tom H Date: Thu, 22 Dec 2016 01:05:45 -0500 Message-ID: Subject: Re: [gentoo-user] from Firefox52: NO pure ALSA?, WAS: Firefox 49.0 & Youtube... Audio: No To: Gentoo User Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 4e7bdc0e-7589-47a4-a4ac-4dff1e8df0ed X-Archives-Hash: 40f2b647048476dcc49b043467ab90af On Mon, Dec 19, 2016 at 9:52 AM, Marc Joliet wrote: > When people compare systemd unit files to init scripts, they usually > mean *raw* (LSB?) sysvinit scripts (as IIUC Debian use{s,d}), with all > of their ridiculous amounts of boilerplate. The latest Debian init.d skeleton uses "#!/lib/init/init-d-script" as its shebang th@localhost ~ $ cat /etc/init.d/skeleton #!/bin/sh # kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing. if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script fi ### BEGIN INIT INFO # Provides: skeleton # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Example initscript # Description: This file should be used to construct scripts to be # placed in /etc/init.d. This example start a # single forking daemon capable of writing a pid # file. To get other behavoirs, implemend # do_start(), do_stop() or other functions to # override the defaults in /lib/init/init-d-script. ### END INIT INFO # Author: Foo Bar # # Please remove the "Author" lines above and replace them # with your own name if you copy and modify this script. DESC="Description of the service" DAEMON=/usr/sbin/daemonexecutablename You can source an environment file and add "DAEMON_ARGS=" should you need to do so. This was created in the debian-devel@ systemd thread by the sysinit/sysvrc maintainer.