From owner-freebsd-questions@freebsd.org Wed May 25 10:47:11 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A695B4967C for ; Wed, 25 May 2016 10:47:11 +0000 (UTC) (envelope-from mailshots@officesuppliesplease.co.uk) Received: from leetex.bak.3wmltd.com (leetex.bak.3wmltd.com [80.90.202.1]) by mx1.freebsd.org (Postfix) with SMTP id D69B91250 for ; Wed, 25 May 2016 10:47:08 +0000 (UTC) (envelope-from mailshots@officesuppliesplease.co.uk) Received: from HV506407 ([127.0.0.1]) by leetex.bak.3wmltd.com ; Wed, 25 May 2016 09:59:34 +0000 X-Mailer: nodemailer (1.3.4; +http://www.nodemailer.com; Stub/1.0.0) MIME-Version: 1.0 Date: Wed, 25 May 2016 09:53:44 +0000 From: "3WM Office Supplies" Subject: Wall Fans back in stock for Summer To: "Cybernet Media Limited" Message-ID: Content-Type: text/plain; charset="utf-8";format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2016 10:47:11 -0000 Wall Fans back in stock for Summer =20 ( http://www.officesuppliesplease.co.uk/ ) ( http://www.officesuppliesp= lease.co.uk/acatalog/about-office-supplies-please.html ) =20 ( http://www.officesuppliesplease.co.uk/acatalog/q-connect-wall-fan-410m= m-16in-kf00406.prd ) =20 Dear Cybernet Media Limited Get your 2016 wall fans now! Weve just taken stock and would like to giv= e you the chance to secure yours for only 16.99. Over the last 3 years weve seen huge demand for the wall fans, selling o= ut within weeks of taking delivery. Thats why weve doubled our order whi= ch has helped us drive the price right down. These easily mountable, oscillating, tilting, 3-speed wall fans have 2 p= ull-cord switch controls and are a superb way of keeping you cool withou= t taking up valuable floor or desk space and blowing your paperwork abou= t. ( http://www.officesuppliesplease.co.uk/acatalog/q-connect-wall-fan-410m= m-16in-kf00406.prd ) ( http://www.officesuppliesplease.co.uk/acatalog/o= ffice-environment-fans.osp ) =20 If you feel we can be of even the slightest help please just give us a c= all and one of our sales team will be happy to assist you. With thanks best regards Neil Blanchard 3WM Office Supplies sales@3wm.co.uk=20 This message was sent to the following e-mail address: freebsd-questions= @freebsd.org. If you would prefer not to receive any further e-mails fro= m us, please just click here ( http://www.officesuppliesplease.co.uk/us/= freebsd-questions@freebsd.org ). Our e-marketing policy can be read here= ( http://www.officesuppliesplease.co.uk/acatalog/office-supplies-please= -email-marketing-policy.html ). Office Supplies Please is a trading style of 3WM Limited Hollis Road, Grantham, Lincolnshire, NG31 7QH Tel: 0845 070 6186 -or- 01476 515 934 Fax: 0845 071 0759 =20 From owner-freebsd-questions@freebsd.org Wed May 25 13:13:51 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BB247B49646 for ; Wed, 25 May 2016 13:13:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 515F612A2 for ; Wed, 25 May 2016 13:13:51 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: by mail-wm0-x232.google.com with SMTP id n129so181396380wmn.1 for ; Wed, 25 May 2016 06:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=+PKVfLAp5O2NQlv+NlKz5dZzskmZz8YBIC5E/4qwVV0=; b=rTUeKEdWXV0+HC8Fc8jSqOXEiJ9hZM5dCC/5hygmgpiCQjeBryI39x5Lu+9WEs7FvQ fsPp+eQEGnh6aAEu0ey16QxkF2rCVTmDllRtdMsyHS/JbIj1PRkwnaDudTMN889iEx0q NqHiACxDO2O1W55Ocn0drMAfQsdEGEy+nwudz1+e/F0lsVTU9qgIFNAq2edesvc73QBA rUXPBOJxH38Ruh8dY8fjBe0/gBXLK//HPw+uQrAV+8AINXzeM1A45gaPsJCALB/IGD0G lTpgRTEeLPFuEI+Oc9IcpoJdFAqUdg/6upBjzKyLNcEn6i4XIOiBoUiI4DCZPQICn4Gx 9JWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+PKVfLAp5O2NQlv+NlKz5dZzskmZz8YBIC5E/4qwVV0=; b=aAEgajjCny1UI72XJpfaAarlmRWiMcg9lYR3e16SlE7t40diZLCBH+oWonDFASqEJ3 oUoowo7K+4WGLvKFGNMimoaATp05RVwF/XKjynw2P20SFzU41x10nBNO2ZPG0WeVL1l7 /9HfWjUrUYg1UZcxmxnlBvoXmxZ8044q/SrJtgi0fPndnZnKHKsF4m1Ljl3eypD4b+Qc 45JiohmeBDDfOJ6GlbpQpiLwzMVlfDXCkkMPo5JZfUZfo1TvrP5D1qixqf/aQ66mNZS4 9Uj1nys3AFyw9G93wOoBTeDI51iQxwYQPDDfy1nlEYojyjVoOdB8HFVnsRcmR8IuWuYW /m4w== X-Gm-Message-State: ALyK8tJ421fmD3yf2wzSfOHh2X+GZ/ISr2ky0kHxxswTTzMdGmoEMbyPLKrG8Lq4/NGLXw== X-Received: by 10.28.113.86 with SMTP id m83mr3720369wmc.67.1464182029769; Wed, 25 May 2016 06:13:49 -0700 (PDT) Received: from gumby.homeunix.com ([2.221.17.115]) by smtp.gmail.com with ESMTPSA id 63sm24871508wmz.5.2016.05.25.06.13.48 for (version=TLSv1/SSLv3 cipher=OTHER); Wed, 25 May 2016 06:13:49 -0700 (PDT) Date: Wed, 25 May 2016 14:13:47 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: Pidfile generated by /usr/sbin/daemon not usable by rc.d script Message-ID: <20160525141347.7e82622e@gumby.homeunix.com> In-Reply-To: <1249E74D-FB34-4FF3-B670-38D80B1B07AF@wooga.net> References: <1249E74D-FB34-4FF3-B670-38D80B1B07AF@wooga.net> X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.29; amd64-portbld-freebsd10.2) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 May 2016 13:13:51 -0000 On Wed, 25 May 2016 11:51:31 +0200 Adam Lindberg wrote: > Hi! >=20 > I=E2=80=99m trying to create a minimal rc.d script for a service, and > discovered that using /usr/sbin/daemon with the -p flag creates a > pidfile which is not readable by /etc/rc.subr. The pidfile is created > without a newline, in which case all the service commands stop > working. That means, running =E2=80=9Cstop=E2=80=9D or =E2=80=9Cstatus=E2= =80=9D prints nothing. If I > add a newline to the file after the fact, they all start working > again. Running the service script with debug output, shows the =E2=80=98r= ead=E2=80=99 > builtin halting the execution of the script when trying to read the > pidfile. This is strange because powerd.pid works without a newline.=20 I wouldn't have expected it to work at all because you've set=20 command=3Dyes I don't know if there's a reason for that, but AFAIK either command or procname is needed in addition to the pid to verify it's the correct process - they're matched against the output of ps.=20