Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5731272ybi; Tue, 28 May 2019 18:53:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxw/ZzoYc7UIcwMhJK9r4PmAnzjDXx3TcAnnKSg2J9eg4CgX3oYYj9tzyAaOMw2ZiBGGTm X-Received: by 2002:a62:7995:: with SMTP id u143mr146936155pfc.61.1559094808887; Tue, 28 May 2019 18:53:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559094808; cv=none; d=google.com; s=arc-20160816; b=YeX98YA3yNSmqov8gef6IMTNpqM1FXtevyn1E5+k+ohIrVVf9feA3O8QiOQwPpj5sT rTNaADjxwXW20KZy8h0NXbMHBEH8BI7ggE6n8QFmp1Fccy93PpgmAEDTNVfKQtAScPoj COsMStkgJKLPsS+RzDN6xUGPyBWSb2/qiOph1PBdFDnFOw/sS9PGMwzY6VeaJlA8GYbL GQ+DsaZO3OCXuq8W5lXDl1C5pYDsA9TqpSzBT/wgkLWBhVjALkLGP12hgdVLce0sIRBo Wob9GXGCOkUk7gNxnrSh77RVGiB7/O36u0I2tJaiJOyIFy+CN6scLM6yaD0lFWj8hLBs XKWQ== 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=DGqbt8AERDpzFbgfhidAG7QWKJRCgHi5JPeOZoLJm/A=; b=adQtX6oOqvW+5BStUnTJWIcmUnB1qlyWiTFyBbTIcbswUqqobiXAv3YqPN8tZ647Qn SY0IIukaCrzEpSMK9WVSXZ2skk17tPJ0zn8CDIIdP5rEo1oSb2qwQwrsv5Ey6t4fgoNa fIMD4zWPAWS8VYiQS4SM8tCj2cSCvhhW+zld5qsOErddPe3qO/52M14+eObeVB/+Q3hz 8CXA4p74YCgK/DuAyD+3GbzQW/Fi8ZS5IRVYtvDIZ9xVJZoVxgph+Og7waR3aZJVpdsH +5+O8GmdCPIAMY2VMTMW1uTW7fbHeSgpQLRwsMUOawkeZ5+Ei29Qh9YV2JDQHftJwv+7 CxzA== 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 129si26711258pfb.270.2019.05.28.18.52.53; Tue, 28 May 2019 18:53:28 -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 S1725830AbfE2Bwx (ORCPT + 99 others); Tue, 28 May 2019 21:52:53 -0400 Received: from mga04.intel.com ([192.55.52.120]:44549 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725816AbfE2Bwx (ORCPT ); Tue, 28 May 2019 21:52:53 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 18:52:52 -0700 X-ExtLoop1: 1 Received: from ingas-nuc1.sea.intel.com ([10.255.231.189]) by orsmga007.jf.intel.com with ESMTP; 28 May 2019 18:52:51 -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] Add support for systemd mesh service Date: Tue, 28 May 2019 18:52:49 -0700 Message-Id: <20190529015251.15805-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 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 | 13 +++++++++++++ mesh/main.c | 15 +++++---------- mesh/org.bluez.mesh.service | 5 +++++ 5 files changed, 36 insertions(+), 13 deletions(-) create mode 100644 mesh/bluetooth-mesh.service.in create mode 100644 mesh/org.bluez.mesh.service -- 2.21.0