Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5014420ybi; Mon, 3 Jun 2019 23:08:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqzhA4+Xy436NaSfQ1Go1dfFFzOBrMh/Mn+RgRExsk46lsjjvzaL9S0SzigLcZLEkGOm0Qb9 X-Received: by 2002:a17:902:18a:: with SMTP id b10mr34744707plb.277.1559628509727; Mon, 03 Jun 2019 23:08:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559628509; cv=none; d=google.com; s=arc-20160816; b=DNhhpE5aVIuNbU2cBlZpA2KNoKWfWU595abSEHnsgXGxng1HxO3jj/S5ZZA/cWYPG8 aOHwUPRn4/jyR2Q4f0W5X/ta/Jl0PuwQvCLcVRLMlUzNLvzucoKhJuGEGP3zMNZ9n//j RIOdNIzzZFfQ6We9fK8eS7MGjdMCdNs7vNL9sfu9PF3H+/0oENrg7g6lZOrbs7Nb7qh+ GbIJD4VBdG2gGP9uH1zE+C7rMe8LUArfwu0U5E6NC51WP6rGdnon4IZLgz+IkWUgqZ9N +IiDiglLqMbeVtB9mt+4CO7si0o4GZXRWnEU+kBmwxA/oEfJzQMPQ/cLSXm+F4cKUSbk E3Gw== 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=HN6aqyA3tzh/QZa8k0JoKAVc94wQjqbXTn5StJHxOuA=; b=gIzf8bnMcYAIOYz5bJ509V7ilrB1TZcuvucAk6Fg1FHUhoHlllchYTZEmbFjihZq57 zyzC4/J6udwxIV/XW7/7BS0+JryaJJnTWSaRg1GjzTLqLcks8LcAa+60a8CPDxCkqzaL gU280LhEfvxDelfkYWOjFhW6gk6U/XLRQ8KO6ln1gz3bhX9KF1ki6S/7Cy3MnHj3WhET yJMIspM0JLeamcKy0qziTqI7ougb99QVxUsXLk81nv5nETihSmU+MI2g45ToaF0vTiW9 G43/tMwtV7uRYC9C2X8h4WohuCUOPzPmlP2yS6lLRG3zyVL0U0jdSjpg+p6geFIZdJ0Q wKfw== 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 d31si18548137pgm.575.2019.06.03.23.07.57; Mon, 03 Jun 2019 23:08:29 -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 S1726617AbfFDGHu (ORCPT + 99 others); Tue, 4 Jun 2019 02:07:50 -0400 Received: from mga12.intel.com ([192.55.52.136]:8052 "EHLO mga12.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726136AbfFDGHu (ORCPT ); Tue, 4 Jun 2019 02:07:50 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jun 2019 23:07:50 -0700 X-ExtLoop1: 1 Received: from ligangti-mobl3.ccr.corp.intel.com (HELO ingas-nuc1.sea.intel.com) ([10.254.84.181]) by fmsmga008.fm.intel.com with ESMTP; 03 Jun 2019 23:07:49 -0700 From: Inga Stotland To: linux-bluetooth@vger.kernel.org Cc: brian.gix@intel.com, marcel@holtmann.org, johan.hedberg@gmail.com, luiz.dentz@gmail.com, Inga Stotland Subject: [PATCH BlueZ 0/2 v3] Add support for systemd mesh service Date: Mon, 3 Jun 2019 23:07:46 -0700 Message-Id: <20190604060748.3533-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-meshd as systemd service and 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.mesh | 14 ++++++++++++-- mesh/bluetooth-mesh.service.in | 16 ++++++++++++++++ mesh/main.c | 17 ++++++----------- mesh/org.bluez.mesh.service | 5 +++++ 4 files changed, 39 insertions(+), 13 deletions(-) create mode 100644 mesh/bluetooth-mesh.service.in create mode 100644 mesh/org.bluez.mesh.service -- 2.21.0