Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp4512749pxb; Wed, 20 Apr 2022 04:57:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqgW+DtDuk1/fAwH2Cuj5h7ICXIyjep/bRAeGw2p2T1A/Id+26vx1iJjUHC7xgvRL+0sXL X-Received: by 2002:a17:902:c215:b0:14f:f1c2:9fe3 with SMTP id 21-20020a170902c21500b0014ff1c29fe3mr20134149pll.145.1650455830409; Wed, 20 Apr 2022 04:57:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650455830; cv=none; d=google.com; s=arc-20160816; b=hB04s5JQH4UosloHmRjE1BLeru0anxwdAgc8Lnop2hZArngwEHFK7+cYqr9jBaG0ep 93RYw9QcN7X4FNExmgw+fpS7E5QQEwpMvGbWrUrh4P2yRjT2mA52k5LC7IwSOn1D1Lw8 +1WOZ12QxrOHkSlnf6QghjXJijLiJMzz6KMnPPkD3Di7VCV8OekKKInx5iJlWSftaT5l rSz9z/qHAibnryOffIs03BcPW5+o6KonSPh6YqqMTiW4zu3lE3+wQKeTS4Pgt9spvrY1 UF8wTF7yIn/iu6OgQ9ViO2rj0Qx/V9/VqVkTIjP9bQChFjKVIHk6VMBZclwdM2KVaTzS ZzYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=xLgVVt96BYUXkm0q4K75l1wjsNucJJck339ryBLiGls=; b=N+qV3Jm1sYljS0v6E02GFdpNZcvZz93mSK9fO//GYju3yJ5gr5jXrljz18ERns4le3 Y7wXtmKeFPqipVszqgy87l3P+/jCuBXIodJrqCMXFl3wXs5S8QT/ddCohvflJUMSL307 RaP0c3/CQoou92ytFQfZCdG9im3ZgBOKgUGmA2W7i3uCAU4g0iPWkv4jUyXq4w4ovcie D+FAryktM1knX57J/MmjRhMfjqHV8ccspN1kipn3Z0UgXsKCuaPbQ7fFVzSPjF0QwR3T zRdg/NjK1rIYWpZW/C0gynNIKL5GBHcLhsHMATQ8C2QmVEro6mti8cCb1injq4AB3IAn tVxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ih42wntx; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a62-20020a639041000000b003aa746e7c98si752536pge.70.2022.04.20.04.56.40; Wed, 20 Apr 2022 04:57:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ih42wntx; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355227AbiDSSi1 (ORCPT + 99 others); Tue, 19 Apr 2022 14:38:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39282 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357709AbiDSSiB (ORCPT ); Tue, 19 Apr 2022 14:38:01 -0400 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6E8B286DF for ; Tue, 19 Apr 2022 11:34:36 -0700 (PDT) Received: by mail-pj1-x1030.google.com with SMTP id o5-20020a17090ad20500b001ca8a1dc47aso2687218pju.1 for ; Tue, 19 Apr 2022 11:34:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=xLgVVt96BYUXkm0q4K75l1wjsNucJJck339ryBLiGls=; b=ih42wntxus6VPCp//QpETx3y7SoYHx5n95I4cdROE9+5kXBbK1YriHrSbjY+x/fyTr AStZb+t3H9tgzJl03Nw9NqVbIja9dJOwn/5vr+37j+RGpyiiD2AlvzM+em6VJd4Y7Lik xKFJCpOQNLNBx8tbKAQttQpepNlirEVd14EAy7g1NQCRDBYo+NxmXkzNVHIB6zFPbmEU Ojl0D529WF0uzuPD/aDbJarvSew4352s/sk4qbPsJyc9T4DSkszxyZKgpDNJ5EGuPvIA Hk3iJHo6RepCDe+K+g4ilfHxsaKY1GU6dGuK2RgBxbhMgTFZKm+TDtB2RD7B0M838QGX B+Mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=xLgVVt96BYUXkm0q4K75l1wjsNucJJck339ryBLiGls=; b=HpmeZL40JsLED5oqrFfGa+kvQB9bi38KJaWD49Yw7AT5DbkjzR1OhxjnyLwpuzUqx8 r8f4wGx6gncRl3jaYNB3t4uWIJadwyl7OKrKGQKCOCmL4S2iz7N1kaMu9OOitvmpAgq7 DMzIVCJ2xFkpZ1zu154CCrb6x+fsp3lJgxSSi3L4i+f7j4mlpz/TxsD233t4nzeRH/J0 JbvGB/ZsfAwizgV6G+6j5U9bbgs5XqAQmCM8j5VP9ET2he89HAfEiSAaPQTLvGe4Cmy8 9ISu0kRNqnwXJynpn8TJxZXybT21C9D/Ow8zeMrvbR9Y39mLuVksg+obOgkkY2/rI0JA QP7g== X-Gm-Message-State: AOAM530gqIW0saNHL2mbgaR2Kn83IIns1aaNL4bG1HkPtpCxUom/EFhU iK6nUYVsTMpZ+zA4ijOnr29stWDu/zQ= X-Received: by 2002:a17:90b:390d:b0:1d2:7a7d:170e with SMTP id ob13-20020a17090b390d00b001d27a7d170emr16396267pjb.230.1650393276007; Tue, 19 Apr 2022 11:34:36 -0700 (PDT) Received: from lvondent-mobl4.. (c-71-56-157-77.hsd1.or.comcast.net. [71.56.157.77]) by smtp.gmail.com with ESMTPSA id d20-20020a056a00199400b005060849909esm19816838pfl.176.2022.04.19.11.34.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Apr 2022 11:34:35 -0700 (PDT) From: Luiz Augusto von Dentz To: linux-bluetooth@vger.kernel.org Subject: [PATCH BlueZ] settings-storage: Document use of StateDirectory Date: Tue, 19 Apr 2022 11:34:35 -0700 Message-Id: <20220419183435.2534491-1-luiz.dentz@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org From: Luiz Augusto von Dentz This documents the use of StateDirecory environment variable which overwrites the default storage diretory when set. --- doc/settings-storage.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/settings-storage.txt b/doc/settings-storage.txt index 26584f201..178e7d07b 100644 --- a/doc/settings-storage.txt +++ b/doc/settings-storage.txt @@ -18,6 +18,11 @@ change. Default storage directory is /var/lib/bluetooth. This can be adjusted by the --localstatedir configure switch. Default is --localstatedir=/var. +When loading as a service the storage directory can be set via +StateDirectory environment variable: + +https://www.freedesktop.org/software/systemd/man/systemd.exec.html + All files are in ini-file format. -- 2.35.1