Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp989252ybi; Fri, 31 May 2019 11:55:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxao7MRVPQHbmZa/d+T7xswBzd8RI0PVhHiJ2xObVAYVYZxb/kQL6oKGg6C3PiatoS93/fD X-Received: by 2002:a63:2315:: with SMTP id j21mr11054619pgj.414.1559328927315; Fri, 31 May 2019 11:55:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559328927; cv=none; d=google.com; s=arc-20160816; b=OGxMVXPg+eXyiu6usmHNfniljuLDn18NfILv1n4rpXG/hkJBdb4BBpcMdX7ZX8AJ+h bLis9SE7VDznOoscgcsHw6T/fEqGR1wmmqJMzkZoWkUrvLrH7+iESECFjgF06mRab9sK 31Y5IsEnywm+dS1pd3QKG+oJSMSrrl4I6GlF2r3wSQBigaPzAzyGninGM1NuV13kBi2y 0h7hB8P44W9kkNycYwkJ59MBi7nAc8MKzf9mbZQGw01Rpfmw2kpN3WL0djle0v457yz/ DguebVIRKTI5aHdw3JlcJMZoxrwhd2fnig1dkUUhO3KsLV1Q10qlw/wFGGYZirO45PIf AAsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=T5/vOH8IJSMPOf/62VXPShGqZOPXWBdMfzj8fq9mj/c=; b=M32hKTJLqDKDSRZ+b64Qnq49tm9iGSJrxetvSoK4E0V9d1or9QeNj1BCiF3ZgXqG5Y b3y6tm+kSoCVTtF34zEZGpZoAHebwdcgGtdeyaJs+aqHftPLS6Ct7BA5kPhs8Z6UGOj7 BA24wCZ+3/rcUWU3IYsIpYUikAPRQVYMFagDXPSIxCbgHFrH6l+aN0Rzv4QZJ1jMylOK SmjbdSmMk5f2xv+JV+WxfVqqazLzZcDi0mJGB+MTZMkgEFiQ1erT0AW7iWbHcepYFCFS Gst2mU6KpPP5s4XATP2w0t5kL4GIs2Kb4eIRL31Lv4lrdfYoCT9xpEkvubS5GnDOwI7g +yjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si2259335plb.434.2019.05.31.11.54.55; Fri, 31 May 2019 11:55:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727105AbfEaSyv (ORCPT + 99 others); Fri, 31 May 2019 14:54:51 -0400 Received: from mga17.intel.com ([192.55.52.151]:38242 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726640AbfEaSyv (ORCPT ); Fri, 31 May 2019 14:54:51 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 31 May 2019 11:54:51 -0700 X-ExtLoop1: 1 Received: from ingas-nuc1.sea.intel.com ([10.252.132.160]) by fmsmga005.fm.intel.com with ESMTP; 31 May 2019 11:54:50 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, johan.hedberg@gmail.com, luiz.dentz@gmail.com, Inga Stotland Subject: [PATCH BlueZ 0/2 v2] Add support for systemd mesh service Date: Fri, 31 May 2019 11:54:47 -0700 Message-Id: <20190531185449.9133-1-inga.stotland@intel.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org With whitespace fix This patch set adds files necessary to run bluetooth-mesh as systemd service. Also removes explicit call to daemon() Inga Stotland (2): build: Add support for systemd bluetooth-mesh service mesh: Do not daemonize, run in foreground or as service Makefile.am | 2 +- Makefile.mesh | 14 ++++++++++++-- mesh/bluetooth-mesh.service.in | 12 ++++++++++++ mesh/main.c | 15 +++++---------- mesh/org.bluez.mesh.service | 5 +++++ 5 files changed, 35 insertions(+), 13 deletions(-) create mode 100644 mesh/bluetooth-mesh.service.in create mode 100644 mesh/org.bluez.mesh.service -- 2.21.0