From 2edb0c45b8abe3662f9a6f90d0d344b14d1bdc2e Mon Sep 17 00:00:00 2001 From: Martin Habovstiak Date: Thu, 6 Feb 2020 18:56:07 +0100 Subject: [PATCH] Use special group for nbxplorer-mainnet This is pretty much preparation for the future when https://github.com/dgarage/NBXplorer/issues/238 is implemented. --- pkg_specs/nbxplorer-mainnet.sps | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg_specs/nbxplorer-mainnet.sps b/pkg_specs/nbxplorer-mainnet.sps index 484d5e7..0b44237 100644 --- a/pkg_specs/nbxplorer-mainnet.sps +++ b/pkg_specs/nbxplorer-mainnet.sps @@ -8,6 +8,9 @@ extra_service_config = """ Restart=always """ +[extra_groups."nbxplorer-mainnet-access-rpc"] +create = true + [config."nbxplorer.conf"] format = "plain" public = true @@ -17,7 +20,7 @@ cat_dir = "conf.d" type = "path" file_type = "dir" default = "/var/lib/nbxplorer-mainnet" -create = { mode = 750, owner = "nbxplorer-mainnet", group = "nbxplorer-mainnet"} +create = { mode = 750, owner = "nbxplorer-mainnet", group = "nbxplorer-mainnet-access-rpc" } priority = "low" summary = "NBXplorer data directory"